-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When implementing the various commands using @command, they are treated as necessary all the time. This works like
$ program add
or
$ program something-else
but i'd like this
$ program
to be treated as a separate command that does something other than provide the help.
I understand I can achieve this behaviour by modifying sys.argv[], but was wondering if there's an in-built way to specify a function to run when no commands are given.
Thanks for developing this tool by the way, it's excellent and i've found it really useful already!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels