3. Options For Command¶
All built commands have their definitions of how they are executed, but sometimes it’s useful to have an option to rewrite a defined parameter or extend a functionality. This is provided by options below.
Options are extended attributes which can be set either before command name or after command name, so both following examples are valid:
$ vendor/bin/phpzone <OPTION> <COMMAND>
$ vendor/bin/phpzone <COMMAND> <OPTION>
Tip
All available options can be displayed by:
$ vendor/bin/phpzone <COMMAND> --help
3.1. –build¶
Overwrites defined command by build. Command definition
3.2. –kill¶
Overwrites defined command by kill. Command definition
3.3. –logs¶
Overwrites defined command by logs. Command definition
3.4. –ps¶
Overwrites defined command by ps. Command definition
3.5. –pull¶
Overwrites defined command by pull. Command definition
3.6. –rm¶
Overwrites defined command by rm. Command definition
3.7. –scale¶
Overwrites defined command by scale. Command definition
3.8. –start¶
Overwrites defined command by start. Command definition
3.9. –stop¶
Overwrites defined command by stop. Command definition
3.10. –up¶
Overwrites defined command by up. Command definition