Schniz / cmd-ts

💻 A type-driven command line argument parser
https://cmd-ts.now.sh
MIT License
241 stars 25 forks source link

Option to display help when no arguments are passed #177

Closed nevir closed 1 year ago

nevir commented 2 years ago

As a convenience factor on binaries that contain many subcommands, I find it very helpful to print out help if someone calls the command with zero arguments.

Would be really helpful to have an option (or example) to allow this!