Add "nauta up <username>" to select a card manually
This commit is contained in:
parent
e289fc4e61
commit
12c722bc08
1 changed files with 2 additions and 1 deletions
3
nauta.py
3
nauta.py
|
@ -399,7 +399,7 @@ def main(args):
|
||||||
epilog=dedent("""\
|
epilog=dedent("""\
|
||||||
Subcommands:
|
Subcommands:
|
||||||
|
|
||||||
up
|
up [username]
|
||||||
down
|
down
|
||||||
cards [-v] [-f]
|
cards [-v] [-f]
|
||||||
cards add [username]
|
cards add [username]
|
||||||
|
@ -441,6 +441,7 @@ def main(args):
|
||||||
|
|
||||||
up_parser = subparsers.add_parser('up')
|
up_parser = subparsers.add_parser('up')
|
||||||
up_parser.set_defaults(func=up)
|
up_parser.set_defaults(func=up)
|
||||||
|
up_parser.add_argument('username', nargs="?")
|
||||||
|
|
||||||
down_parser = subparsers.add_parser('down')
|
down_parser = subparsers.add_parser('down')
|
||||||
down_parser.set_defaults(func=down)
|
down_parser.set_defaults(func=down)
|
||||||
|
|
Loading…
Reference in a new issue