summaryrefslogtreecommitdiff
path: root/examples/modular_subcommands.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:29:39 -0500
committeranselor <anselor@gmail.com>2021-01-22 10:40:50 -0500
commita3b1b6ddf81cdc0b253f15feeb167ff348afd14f (patch)
tree2556f4aa57d02e12526949c08cf032c3e1a67d11 /examples/modular_subcommands.py
parentc1859045c8d439932fac9ceb5203a400db609533 (diff)
downloadcmd2-git-a3b1b6ddf81cdc0b253f15feeb167ff348afd14f.tar.gz
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.
Diffstat (limited to 'examples/modular_subcommands.py')
-rw-r--r--examples/modular_subcommands.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/modular_subcommands.py b/examples/modular_subcommands.py
index c1d499f0..082903fb 100644
--- a/examples/modular_subcommands.py
+++ b/examples/modular_subcommands.py
@@ -11,8 +11,14 @@ The `load` and `unload` command will load and unload the CommandSets. The availa
subcommands to the `cut` command will change depending on which CommandSets are loaded.
"""
import argparse
+
import cmd2
-from cmd2 import CommandSet, with_argparser, with_category, with_default_category
+from cmd2 import (
+ CommandSet,
+ with_argparser,
+ with_category,
+ with_default_category,
+)
@with_default_category('Fruits')