[TIMOB-11996] CLI should exit with code on error/success
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-12-07T21:31:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | cli, feature |
Reporter | Christian Sullivan |
Assignee | Chris Barber |
Created | 2012-12-07T20:59:15.000+0000 |
Updated | 2017-03-21T22:47:59.000+0000 |
Description
CLI should exit with standard codes on error/success
process.exit([code])
Success by default processes exit with code "0" which is an acceptable success code already.
EXAMPLE USAGE: External libraries calling the cli via child process. This will help identify error types.
Dupe of TIMOB-8887
Closing ticket as duplicate with reference to the above comments.