-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
hello! i love arguably! i have this simple example:
import arguably
@arguably.command
def foo__bar1():
"""some help text"""
print("foo__bar1")
@arguably.command
def foo__bar2():
"""some help text"""
print("foo__bar2")
def main():
arguably.run()assuming the name of the script is cli, when i do:
cli foo -h
i get a nice help message for the sub commands. however, when i do
cli foo
i get this error:
usage: cli foo [-h] command ...
cli foo: error: the following arguments are required: command
can i configure arguably to always print help when no args/commands are supplied? (this is similar to how cement works)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels