File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1- ## 1.0.3 (TBD, 2020)
1+ ## 1.1.0 (TBD, 2020)
22* Bug Fixes
33 * Fixed issue where subcommand usage text could contain a subcommand alias instead of the actual name
44* Enhancements
1414 documentation for an overview.
1515 * See [ table_creation.py] ( https://github.com/python-cmd2/cmd2/blob/master/examples/table_creation.py )
1616 for an example.
17+ * Added the following exceptions to the public API
18+ * ` SkipPostcommandHooks ` - Custom exception class for when a command has a failure bad enough to skip
19+ post command hooks, but not bad enough to print the exception to the user.
20+ * ` Cmd2ArgparseError ` - A ` SkipPostcommandHooks ` exception for when a command fails to parse its arguments.
21+ Normally argparse raises a ` SystemExit ` exception in these cases. To avoid stopping the command
22+ loop, catch the ` SystemExit ` and raise this instead. If you still need to run post command hooks
23+ after parsing fails, just return instead of raising an exception.
24+ * Added explicit handling of ` SystemExit ` . If a command raises this exception, the command loop will be
25+ gracefully stopped.
1726
1827## 1.0.2 (April 06, 2020)
1928* Bug Fixes
You can’t perform that action at this time.
0 commit comments