diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-28 21:29:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 21:29:50 -0700 |
commit | cc38f5d348e9fb566565938acb2352174efbd313 (patch) | |
tree | d9ec61d7cce8b508f672e88eef93b79cc7f7ebe0 /docs/features/builtin_commands.rst | |
parent | 94f3c4cd0291146c1e28aba90c0c32e76140d5e0 (diff) | |
parent | f2302042e2edad5fcabd17fa4f7f2bc08c1003fc (diff) | |
download | cmd2-git-cc38f5d348e9fb566565938acb2352174efbd313.tar.gz |
Merge pull request #904 from python-cmd2/scripting_docs
Update scripting docs. Closes #765.
Diffstat (limited to 'docs/features/builtin_commands.rst')
-rw-r--r-- | docs/features/builtin_commands.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/features/builtin_commands.rst b/docs/features/builtin_commands.rst index 0db05c96..e08b5c24 100644 --- a/docs/features/builtin_commands.rst +++ b/docs/features/builtin_commands.rst @@ -83,6 +83,15 @@ This command runs commands in a script file that is encoded as either ASCII or UTF-8 text. See :ref:`features/scripting:Command Scripts` for more information. +_relative_run_script +~~~~~~~~~~~~~~~~~~~~ + +This command is hidden from the help that's visible to end users. It runs a +script like :ref:`features/builtin_commands:run_script` but does so using a +path relative to the script that is currently executing. This is useful when +you have scripts that run other scripts. See :ref:`features/scripting:Running +Command Scripts` for more information. + set ~~~ |