File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22# coding=utf-8
33"""A sample application for how Python scripting can provide conditional control flow of a cmd2 application.
44
5- cmd2's built-in scripting capability which can be invoked via the "@" shortcut or "run_script" command and uses basic
6- ASCII text scripts is very easy to use. Moreover, the trivial syntax of the script files where there is one command per
7- line and the line is exactly what the user would type inside the application makes it so non-technical end users can
8- quickly learn to create scripts.
5+ cmd2's built-in scripting capability, which can be invoked via the "@" shortcut or "run_script" command, uses basic
6+ ASCII/UTF-8 text scripts and is very easy to use. Moreover, the trivial syntax of the script files, where there is one
7+ command per line and the line is exactly what the user would type inside the application, makes it so non-technical
8+ that end users can quickly learn to create scripts.
99
1010However, there comes a time when technical end users want more capability and power. In particular it is common that
1111users will want to create a script with conditional control flow - where the next command run will depend on the results
You can’t perform that action at this time.
0 commit comments