Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,13 @@ jasonsha@MyVM:~$

#### Exit Codes
For scripting purposes, we output certain exit codes for differing scenarios.
`0`: Command ran successfully.
`1`: Generic error; server returned bad status code, CLI validation failed, etc.
`2`: Parser error; check input to command line.
`3`: Missing ARM resource; used for existence check from `show` commands.

|Exit Code |Scenario |
|---|---|
|0 |Command ran successfully. |
|1 |Generic error; server returned bad status code, CLI validation failed, etc. |
|2 |Parser error; check input to command line. |
|3 |Missing ARM resource; used for existence check from `show` commands. |

#### More Samples and Snippets
For more usage examples, take a look at our [GitHub samples repo](https://github.com/Azure/azure-cli-samples) or [https://docs.microsoft.com/en-us/cli/azure/overview](https://docs.microsoft.com/en-us/cli/azure/overview).
Expand Down