Updated start command block

This commit is contained in:
Joe Bellus 2020-07-29 23:09:18 -04:00
parent 93bd83b9f8
commit 77c090df3d
1 changed files with 7 additions and 7 deletions

View File

@ -36,9 +36,9 @@ Components are indvidual applications that are run as part of the stack. All, so
COLORS: 1 COLORS: 1
NPM_ENV: debug NPM_ENV: debug
start: start:
- command: npm command: npm
args: args:
- start - start
init: init:
- command: npm - command: npm
args: args:
@ -54,7 +54,7 @@ component itself.
* **color** - The component will use this color in the log output. Valid color values are: Yellow, Blue, Green, Red, and Purple. * **color** - The component will use this color in the log output. Valid color values are: Yellow, Blue, Green, Red, and Purple.
* **tags** - A comma seperated list of tags to identify the component. These can be used to execute groups of components using the --tags flag. * **tags** - A comma seperated list of tags to identify the component. These can be used to execute groups of components using the --tags flag.
* **start** - A command block that is executed when the component is ran * **start** - A command block that is executed when the component is ran
* **init** - A command block that is ran when the component is initialized * **init** - A list of command blocks that are ran when the component is initialized
* **repo** - The repository url for the component. When running init all components are cloned into subfolders if they have repositories specified and their init commands are ran. * **repo** - The repository url for the component. When running init all components are cloned into subfolders if they have repositories specified and their init commands are ran.
* **retry** - Specifies whether the command should be rerun if it exits. This is true by default. Setting this to false will cause the command to be executed. This does not apply to init commands. * **retry** - Specifies whether the command should be rerun if it exits. This is true by default. Setting this to false will cause the command to be executed. This does not apply to init commands.
* **delay** - A delay in seconds to wait before executing this command. This is useful if it needs to wait for another component to spin up. * **delay** - A delay in seconds to wait before executing this command. This is useful if it needs to wait for another component to spin up.
@ -76,9 +76,9 @@ components:
tags: tags:
- core - core
start: start:
- command: npm command: npm
args: args:
- start - start
init: init:
- command: npm - command: npm
args: args: