my127 / workspace

Development environment tooling
MIT License
16 stars 13 forks source link

Exit code and output stream changes #144

Closed g-foster2020 closed 1 year ago

g-foster2020 commented 1 year ago

Requirements:

  1. ws alone shall be exit 0 and stdout
  2. ws --help shall be exit 0 and stdout
  3. ws --help command shall be exit 0 and stdout
  4. ws [--help] badcommand shall be exit 127 and stderr
  5. ws --help shall not throw an error (command "" does not exist)
g-foster2020 commented 1 year ago

Note to self - for a handle on relevant source code see https://github.com/my127/workspace/pull/141