| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Also:
- Bumped version to 0.8.6 on this branch
|
| |
|
|
|
| |
- Bumped version to 0.8.5
- Added details to CHANGELOG.md regarding recent changes
|
| |
|
|
|
|
|
|
|
| |
Changed the detection of with_argparse decorated commands to be less hacky/brittle.
Now it tags the function with help_summary.
Fixed issue with handling commands that provide a custom help_ function. We can now
redirect the output to a string to be formatted with the other commands.
Added some documentation explaining the new help categories.
Updated unit tests.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Link added to both README and Resources section of Sphinx docs.
|
| |
|
|
|
|
| |
Now that the crash bug in the gnureadline Python module which statically links against a compatible version of GNU Readline has been fixed for macOS, we added back in the top-level import boilerplate to prefer it if it is available.
Also updated some documentation in relation to getting readline installed for macOS.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Added example showing how to display tabular data in a cmd2 application.
Also:
- Updated CHANGELOG with data on all PRs since last release
- Bumped version to 0.8.2 in preparation for next release
|
| | |
|
| |
|
| |
Changed "built-in" instead of "build-in" and fixed accidental capitalization of a letter.
|
| |
|
|
|
|
|
| |
Aslo:
- Added some documentation for ppaged()
- Updated CHANGELOG
- Added line about ppaged() in README
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
The documentation didn't make it very clear that the poutput() method should be used for generating output from cmd2 commands. This PR attempts to fix that.
This closes #275.
|
| |
|
|
|
|
| |
Added pexpect to modules required for running unit tests.
This opens the door for carefully crafted complex unit tests to verify intricate behavior. Tests like this are somewhat painful to write and slow to execute. However, they can enable testing complicated interactive behavior that we otherwise probably would not be able to test.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Including an example and info in the Sphinx docs
Also:
- Created CHANGELOG entry for 0.8.1 release
- Added info to README about new sub-menu feature
- Bumped version to 0.8.1
TODO:
- Added a unit test for the persistent readline history feature
|
| |
|
|
|
|
|
|
| |
Improved the documentation related to how to use the argparse decorators.
Also:
- Fixed a comment in cmd2.py which referred to the old decorator before the rename
- Fixed README.md which had the old decorator name in it prior to the rename
|
| | |
|
| |
|
|
| |
dependency on contextlib2
|
| |
|
|
|
| |
Also:
- Reanamed foo and bar subcommand methods to base_foo and base_bar
|
| |
|
|
| |
Also added a section on Sub-commands to the documentation.
|
| |
|
|
| |
Also bumped version to 0.8.0.
|
| |
|
|
|
|
| |
I eliminated a few "narg=1" configurations so that a single str value is returned instead of a List[str].
I also reworded some documentation which was no longer correct after the last commit which made "history command" have the same help text as "command -h" when using one of the two argparse decorators.
|
| |
|
|
| |
Removed usage of and reference to attributes and commands which have now been removed.
|
| |
|
|
| |
@options optparse-based decorator
|
| |
|
|
| |
Also added another @with_argparser_and_list decorator that uses argparse.parse_known_args to pass two arguments to a command: both the argparse output and a list of unknown/unmatched args.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
There are a couple unit test failures with Python 3.7-dev that we will need to look into at some point, so I disabled that build for now.
Updated all documentation to reflect that cmd2 is support on Python 2.7 and 3.4+.
Official support for Python 3.3 has been abandoned due to no longer having support to test on that platform on Travis CI.
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| | |
attribute before calling super class __init__
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Also included a number of minor maintenance updates:
- Bumped version to 0.7.8 in preparation for upcoming release
- Updated Readme.md to add link to slides from recent Florida PyCon talk about cmd2
- Updated documentation on integrating cmd2 with other event loops to use newer runcmds_plus_hooks() method instead of legacy onecmds_plus_hooks method which doesn't properly deal with load commands
- Deleted old files which were used to prepare for a PyCon 2010 presentation
- Updated ChangeLog regarding this bug fix
|
| |/ |
|