diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-29 17:36:46 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-29 17:36:46 -0400 |
| commit | da7020c26c6bbc871c94587ba10f751e53f7911b (patch) | |
| tree | 6e2e2e8aaf7c18e344c4eb87c8acd661dc90d79e /docs | |
| parent | 31da70efe7160439eb6ab13f46739993f4d4cd7f (diff) | |
| download | cmd2-git-da7020c26c6bbc871c94587ba10f751e53f7911b.tar.gz | |
Remove load, _relative_load, pyscript aliases which
These commands were renamed in the last release, but aliases were created along with warnings to help aid the transition.
The command aliases are now being removed in this release.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/integrating.rst | 5 | ||||
| -rw-r--r-- | docs/unfreefeatures.rst | 17 |
2 files changed, 10 insertions, 12 deletions
diff --git a/docs/integrating.rst b/docs/integrating.rst index 352bb2f0..bf79ee4e 100644 --- a/docs/integrating.rst +++ b/docs/integrating.rst @@ -45,9 +45,8 @@ loop:: Documented commands (type help <topic>): ======================================== - alias history mumble pyscript run_script shell - edit load orate quit say shortcuts - help macro py run_pyscript set speak + alias help macro orate quit run_script set shortcuts + edit history mumble py run_pyscript say shell speak (Cmd) diff --git a/docs/unfreefeatures.rst b/docs/unfreefeatures.rst index 713e44e6..02e1b981 100644 --- a/docs/unfreefeatures.rst +++ b/docs/unfreefeatures.rst @@ -248,12 +248,8 @@ By default, the ``help`` command displays:: Documented commands (type help <topic>): ======================================== - alias findleakers pyscript sessions status vminfo - config help quit set stop which - connect history redeploy shell thread_dump - deploy list resources shortcuts unalias - edit load restart sslconnectorciphers undeploy - expire py serverinfo start version + alias help ipy py run_pyscript set shortcuts + edit history macro quit run_script shell If you have a large number of commands, you can optionally group your commands into categories. Here's the output from the example ``help_categories.py``:: @@ -265,6 +261,10 @@ Here's the output from the example ``help_categories.py``:: deploy findleakers redeploy sessions stop expire list restart start undeploy + Command Management + ================== + disable_commands enable_commands + Connecting ========== connect which @@ -275,9 +275,8 @@ Here's the output from the example ``help_categories.py``:: Other ===== - alias edit history py quit shell unalias - config help load pyscript set shortcuts version - + alias edit history py run_pyscript set shortcuts + config help macro quit run_script shell version There are 2 methods of specifying command categories, using the ``@with_category`` decorator or with the ``categorize()`` function. Once a single command category is detected, the help output switches to a categorized |
