swift-argument-parser icon indicating copy to clipboard operation
swift-argument-parser copied to clipboard

Automatically document error codes

Open erica opened this issue 4 years ago • 0 comments

Just as SAP creates and populates help from its property wrappers, I believe it would be useful to have a way to document exit codes produced by the command line utility and incorporate them into help.

Even though there are Unix standards like sysexit.h, the developer may wish to:

  • Express which exit codes are produced
  • Document custom exit codes

erica avatar May 20 '20 16:05 erica