Skip to content

Tasks

This content is for v0.3. Switch to the latest version for up-to-date documentation.

In this section it will be explained on how to define various tasks

The following example shows all settings that can be set and which will be explained on this page:

tasks:
settings:
name: Restore all settings for nodejs, php etc.
create:
- webdev restore all
start:
- webdev restore all
install:
name: Run composer install and setup everything
onlyMain: false
create:
- webdev shopware setup

Defines the name of the task, can be left empty.

When set to false, this task will only be executed on the main workspace

Default value: true

Define one or more commands that should be executed during the init process of the workspace.

Define one or more commands that should be executed during the create process of the workspace.

Define one or more commands that should be executed during the start process of the workspace.