Wrapper around argparse for Moa
-
class
moa.args.
MoaHelpFormatter
(prog, indent_increment=2, max_help_position=24, width=None)¶ Copy pasted some code from argparse.py - and made minor changes to better suit the moa help.
-
moa.args.
addFlag
(*args, **kwargs)¶ Add a flag to (default false - true if specified) any command
-
moa.args.
argument
(*args, **kwargs)¶ Add an argument to a function
-
moa.args.
command
(f)¶ Decorator for any function in moa - name is derived from function name
-
moa.args.
commandName
(name)¶ Decorate a function as a moa command with the option to specify a name for the function