We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d003d98 commit 2333ea8Copy full SHA for 2333ea8
1 file changed
basescript/basescript.py
@@ -18,6 +18,7 @@ def __init__(self, args=None):
18
19
self.subcommands = self.parser.add_subparsers(title='commands')
20
self.subcommands.dest = 'commands'
21
+ self.subcommands.required = True
22
self.define_subcommands(self.subcommands)
23
self.subcommand_run = self.subcommands.add_parser('run')
24
self.subcommand_run.set_defaults(func=self.run)
0 commit comments