diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-11-03 14:17:29 -0500 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-11-03 14:17:29 -0500 |
| commit | f626c98934000e3afc6e2e99f61396e56b23dc0c (patch) | |
| tree | 90b9f01ea6e85bf0d221b1c405246558b098124c /docs/features/scripting.rst | |
| parent | 721cb0fa2e96222fe0b181d5adff8fa41465da70 (diff) | |
| download | cmd2-git-f626c98934000e3afc6e2e99f61396e56b23dc0c.tar.gz | |
Created a new documentation section on "Output redirection and pipes"
Also:
- Moved existing output redirection documentation from "Generating Output" section there
- Significantly expanded upon this
- Improved documentation on Command Scripts
- Added missing setting to Settings documentation section
Diffstat (limited to 'docs/features/scripting.rst')
| -rw-r--r-- | docs/features/scripting.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/features/scripting.rst b/docs/features/scripting.rst index 52fab405..f20f3765 100644 --- a/docs/features/scripting.rst +++ b/docs/features/scripting.rst @@ -32,8 +32,11 @@ line, exactly as you would type it inside a ``cmd2`` application. Running Command Scripts ~~~~~~~~~~~~~~~~~~~~~~~ -Command script files can be executed using the built-in ``run_script`` command. -Both ASCII and UTF-8 encoded unicode text files are supported. +Command script files can be executed using the built-in ``run_script`` command +or ``@`` shortcut. Both ASCII and UTF-8 encoded unicode text files are +supported. The ``run_script`` command supports tab-completion of file system +paths. There is a variant ``_relative_run_script`` command or ``@@`` +shortcut for use within a script which uses paths relative to the first scrip. Comments |
