l3nz / cli-matic

Compact, hands-free [sub]command line parsing library for Clojure.
Eclipse Public License 2.0
365 stars 29 forks source link

12-factors CLI apps #34

Open l3nz opened 6 years ago

l3nz commented 6 years ago

Go check https://medium.com/@jdxcode/12-factor-cli-apps-dd3c227a0e46

jwhitlark commented 6 years ago

I like the idea of an Examples section as part of the help, both globally and for individual commands.

jwhitlark commented 6 years ago

If I could think of a way to make sure it'd always be available, I'd love to have a default -v that shows both version and git commit.

jwhitlark commented 6 years ago

I also suggest sending the version string as the User-Agent so you can debug server-side issues. >(Assuming your CLI uses an API of some sort)