Prechádzať zdrojové kódy

Add missings bits and pieces to cli docs

Jordi Boggiano 12 rokov pred
rodič
commit
b422261219
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      doc/03-cli.md

+ 11 - 0
doc/03-cli.md

@@ -21,6 +21,12 @@ The following options are available with every command:
 * **--no-ansi:** Disable ANSI output.
 * **--version (-V):** Display this application version.
 
+## Process Exit Codes
+
+* **0:** OK
+* **1:** Generic/unknown error code
+* **2:** Dependency solving error code
+
 ## init
 
 In the [Libraries](02-libraries.md) chapter we looked at how to create a
@@ -348,6 +354,11 @@ performance.
   autoloader. This is recommended especially for production, but can take
   a bit of time to run so it is currently not done by default.
 
+## run-script
+
+To run [scripts](articles/scripts.md) manually you can use this command,
+just give it the script name and optionally --no-dev to disable the dev mode.
+
 ## diagnose
 
 If you think you found a bug, or something is behaving strangely, you might