Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.48k stars 60 forks source link

Support version and help commands #52

Closed domn1995 closed 4 years ago

domn1995 commented 4 years ago

Many CLI tools have built-in version and help commands. For example:

>git version
git version 2.9.2.windows1

>git help
usage: git [...]
...
Tyrrrz commented 4 years ago

No, I want to avoid adding too many ways of doing the same thing, since we already have the help and version options already. When I started the project design, I was debating whether to use the options or the commands for this, but I've settled on the options as it was more common in my experience.