| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Cleaned up the examples directory by adding a scripts subdirectory.
This makes it a bit clearer which Python files are example cmd2 applications and which are example Python scripts for use with the pyscript command.
|
| |
|
|
|
|
|
|
|
| |
Added information related to the new pyscript command.
The old way of running Python scripts via "py run()" should be considered deprecated. The new "pyscript" command
is superior in two significant ways:
1) It supports tab-completion of file system paths
2) It allows the user to pass command-line arguments to scripts
|
| |
|
|
|
|
| |
The last two arguments (err and war) are now optional.
Only the 1st argument (out) is required.
err and war default to empty strings.
|
| |
|
|
| |
A few other miscellaneous minor tweaks for whitespace and such.
|
|
|
be achieved via the py command and python scripts.
|