diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:31:42 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:31:42 -0400 |
commit | 79c54b473126d44f0da146600a352660d4cb7c64 (patch) | |
tree | 1628b99113f8c49e32bf0903e87617b8089f3f39 /examples/python_scripting.py | |
parent | ea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (diff) | |
download | cmd2-git-79c54b473126d44f0da146600a352660d4cb7c64.tar.gz |
Updated various documentation and tests to not use load
Diffstat (limited to 'examples/python_scripting.py')
-rwxr-xr-x | examples/python_scripting.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/python_scripting.py b/examples/python_scripting.py index 88bc2f98..5b241192 100755 --- a/examples/python_scripting.py +++ b/examples/python_scripting.py @@ -2,10 +2,10 @@ # coding=utf-8 """A sample application for how Python scripting can provide conditional control flow of a cmd2 application. -cmd2's built-in scripting capability which can be invoked via the "@" shortcut or "load" command and uses basic ASCII -text scripts is very easy to use. Moreover, the trivial syntax of the script files where there is one command per line -and the line is exactly what the user would type inside the application makes it so non-technical end users can quickly -learn to create scripts. +cmd2's built-in scripting capability which can be invoked via the "@" shortcut or "run_script" command and uses basic +ASCII text scripts is very easy to use. Moreover, the trivial syntax of the script files where there is one command per +line and the line is exactly what the user would type inside the application makes it so non-technical end users can +quickly learn to create scripts. However, there comes a time when technical end users want more capability and power. In particular it is common that users will want to create a script with conditional control flow - where the next command run will depend on the results |