File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44class called Cmd2ArgumentParser which improves error and help output over normal argparse. All cmd2 code uses
55this parser and it is recommended that developers of cmd2-based apps either use it or write their own parser
66that inherits from it. This will give a consistent look-and-feel between the help/error output of built-in
7- cmd2 commands and the app-specific commands.
7+ cmd2 commands and the app-specific commands. If you wish to override the parser used by cmd2's built-in
8+ commands, see override_parser.py example.
89
910Since the new capabilities are added by patching at the argparse API level, they are available whether or not
1011Cmd2ArgumentParser is used. However, the help and error output of Cmd2ArgumentParser is customized to notate
You can’t perform that action at this time.
0 commit comments