diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-11-08 19:17:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 19:17:53 -0500 |
commit | d5916797620225391379ea40ae466bd7f496ff52 (patch) | |
tree | 6452dc4a3f1f45e31cfae16c8acccf3dd7746f14 /docs/features/scripting.rst | |
parent | a18eef6f6aa89280b5f9b92d4e681f22a438ff8b (diff) | |
parent | 36796c2c6be67085f3d9000086de7052f08f433c (diff) | |
download | cmd2-git-d5916797620225391379ea40ae466bd7f496ff52.tar.gz |
Merge pull request #799 from python-cmd2/doc_updates
Doc updates
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..b41855ca 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 script. Comments |