| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Added info on how to run cmd2 applications in a manner where cmd2
doesn't own the main loop so that the apps can be integrated with
event loops.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also reorganized the GitHub README.rst front-page.
|
| |
|
|
|
|
| |
- Fixed optparse links
- Added note about plans to replace optparse with argparse
- Added subsection about the functions which control argument parsing for commands with flags
|
| |
|
|
|
|
|
|
|
|
|
| |
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:
- Added locals_in_py to settable parameters to match documentation.
- Added pycon2010 slides back into doc build since they are referenced with :doc:
- Fixed some references in the documentation
- Updated unit tests accordingly
|
| |
|
|
| |
Also fixed references to the Script files section.
|
| |
|
|
| |
The docs now use the custom HTML theme from Read the Docs so that when they are built locally they look the same as they will at https://cmd2.readthedocs.io/en/latest/
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
1) Note about needing GNU Readline or equivalent for tab-completion to work
2) Note about behavior occurring when and empty line is entered is different from parent cmd module
|
| |
|
|
|
|
|
|
|
| |
- Updated .gitignore for code coverage result dirs from coverage and pytest-cov
- Updated README.rst to include badge for latest docs from readthedocs.io
- Updated setup.py to have updated info for the next time a release is made to PyPI
- Documentation updates:
- Bumped version in conf.py to 0.7
- Updated links in index.rst and alternatives.rst
|
| | |
|
| | |
|
| |
|
|
| |
compatibility via use of the six module.
|
| | |
|
| | |
|
| |
|