Closed colinkiama closed 2 years ago
Interesting idea, but I think I want the CLI template to be improved or at least rationalized with how other open-source projects do things. Is this a pattern you see in other CLI tools (for example, flatpak)?
Sorry, I made this a while ago, there’s so much I’d change now 😅.
The pattern only partially matches what you would see in existing open-source CLIs.
One of the main changes would be giving each command their own OptionContext.
If you want to close or revise this PR, let me know.
I would like to revise this PR
I’d like to close this actually
This adds a template for CLI Tools.
Provides a basic setup that utilises
OptionContext
, provides a command and a template for defining more commands.