summaryrefslogtreecommitdiff
path: root/examples/subcommands.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-30 16:07:29 -0400
committerEric Lin <anselor@gmail.com>2018-04-30 16:07:29 -0400
commite5699bc65b20b1428e3c8db5cf3f8b5d8bf41569 (patch)
tree1d6b6788a54941a307506fff6a7af4fcc474b820 /examples/subcommands.py
parentab7ac493950040565d933ed02deaeb778ef977e3 (diff)
downloadcmd2-git-e5699bc65b20b1428e3c8db5cf3f8b5d8bf41569.tar.gz
Added more tests exercising the pyscript bridge.
Diffstat (limited to 'examples/subcommands.py')
-rwxr-xr-xexamples/subcommands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/subcommands.py b/examples/subcommands.py
index 75c0733e..eda88072 100755
--- a/examples/subcommands.py
+++ b/examples/subcommands.py
@@ -13,6 +13,7 @@ from cmd2 import with_argparser
sport_item_strs = ['Bat', 'Basket', 'Basketball', 'Football', 'Space Ball']
+
class SubcommandsExample(cmd2.Cmd):
"""
Example cmd2 application where we a base command which has a couple subcommands