diff options
| author | Eric Lin <anselor@gmail.com> | 2020-06-11 18:00:07 -0400 |
|---|---|---|
| committer | anselor <anselor@gmail.com> | 2020-08-04 13:38:08 -0400 |
| commit | e1087b8f29341397b09e9a0722a77c025ab20d23 (patch) | |
| tree | e63eaa1e117973f1e9870c3b187438ae2e5a735e /examples/modular_commands/__init__.py | |
| parent | 787c95251e38ef80821f395b6147982876977081 (diff) | |
| download | cmd2-git-e1087b8f29341397b09e9a0722a77c025ab20d23.tar.gz | |
Initial implementation of modular command loading
Issue #943
New class CommandSet can be used to tag a class as a command class. If
the constructor is simple, the object will automatically be instantiated
and loaded.
New register_command decorator to tag any arbitrary function as a
command.
Diffstat (limited to 'examples/modular_commands/__init__.py')
| -rw-r--r-- | examples/modular_commands/__init__.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/modular_commands/__init__.py b/examples/modular_commands/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/examples/modular_commands/__init__.py |
