You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SkipPostcommandHooks - Custom exception class for when a command has a failure bad enough to skip
post command hooks, but not bad enough to print the exception to the user.
Cmd2ArgparseError - A SkipPostcommandHooks exception for when a command fails to parse its arguments.
Normally argparse raises a SystemExit exception in these cases. To avoid stopping the command
loop, catch the SystemExit and raise this instead. If you still need to run post command hooks
after parsing fails, just return instead of raising an exception.
Added explicit handling of SystemExit. If a command raises this exception, the command loop will be
gracefully stopped.