summaryrefslogtreecommitdiff
path: root/examples/subcommands.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:15:34 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:21:35 -0400
commit9b78cf4913202995dcf065ecf5077bf16fa01f95 (patch)
treea04ca95d6f67bae491f290cc71036d2a4f6b168c /examples/subcommands.py
parent9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff)
downloadcmd2-git-9b78cf4913202995dcf065ecf5077bf16fa01f95.tar.gz
Added info on semantic versioning and branching strategy to CONTRIBUTING.md
Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
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 4f569b1e..dd69d97e 100755
--- a/examples/subcommands.py
+++ b/examples/subcommands.py
@@ -7,6 +7,7 @@ This example shows an easy way for a single command to have many subcommands, ea
and provides separate contextual help.
"""
import argparse
+
import cmd2
sport_item_strs = ['Bat', 'Basket', 'Basketball', 'Football', 'Space Ball']