summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-11 15:11:52 -0400
committerEric Lin <anselor@gmail.com>2018-04-11 15:11:52 -0400
commit33decb449c61e2a78877563309929c4686ea081e (patch)
tree85ce1f9b2b893f9daee08b7c61d098bd0752ed2b /examples/python_scripting.py
parent52bf16c412eb7933eac159ed0fc6363ccc37a82c (diff)
downloadcmd2-git-33decb449c61e2a78877563309929c4686ea081e.tar.gz
Added a with_category decorator that can be used to tag a command category.
Changed the detection of with_argparse decorated commands to be less hacky/brittle. Now it tags the function with help_summary. Fixed issue with handling commands that provide a custom help_ function. We can now redirect the output to a string to be formatted with the other commands. Added some documentation explaining the new help categories. Updated unit tests.
Diffstat (limited to 'examples/python_scripting.py')
0 files changed, 0 insertions, 0 deletions