| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Updated to reflect that the default value of abbrev is now False.
|
| |
|
|
|
|
| |
It was pretty useless, it just printed a message and sat there and waited for the user to hit enter.
It didn't feel like it belonged in a top-level framework. If a particular application wants this functionality, it is a 2 line change to add it back.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Updated these to reflect that the list command has been removed
|
| |
|
|
|
|
| |
Due to the way the parsing logic works for multiline commands, abbreviations didn't function properly with mutliline commands. So to avoid confusion, this commit deals with this issue by simply disallowing abbreviations for multiline commands altogether.
A warning has been added to the section on abbreviations in the documentation to hopefully make this clear for users.
|
| |
|
|
| |
A few other miscellaneous minor tweaks for whitespace and such.
|
| |
|
|
|
|
| |
- Added a new section on application life cycle and hook methods
- Moved a warning to a more appropriate location
- Added a note about using allow_redirection to disable output redirection and pipes
|
| |
|
|
| |
be achieved via the py command and python scripts.
|
| | |
|
| |
|
|
|
|
| |
Fixed a bug where the allow_cli_args attribute wasn't properly preventing OptParse from prasing the args looking for "-t" or "--test" for transcript testing.
Added an example of using Argparse with cmd2.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Sphinx documenation updates, including:
- Extensively re-wrote the "alternatives to cmd2" section as it was many years out of date
- Reworded a few humorous sections in an attempt to be more professional
- Removed reference to command synonyms/aliases which no longer exist
- Added more detail in a couple places
- Minor rewording and bugfixes throughout
Also added a note to cmd2.py about the expected values for doctest only working for Python 2.7.
|
| |
|
|
| |
Also fixed references to the Script files section.
|
| |
|
|
| |
compatibility via use of the six module.
|
| |
|