| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
Also:
- updated README.md to correctly state 3rd-party dependencies
- Updated docs/requirements.txt to no longer include pyparsing for ReadTheDocs build
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
We changed the cmd2 project to now build using Python 3.
So we need to tweak what modules get installed for building the docs.
The following modules were backports for Python 2 and needed to be removed:
- subprocess32
- enum34
|
| |/
|
|
| |
constructor parameters in a more concise/general way. May also resolve the weird Mac issue on Python 3.6
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
mock was a backport of Python's built in unittest.mock and was required for Python 3.2 or earlier
- Since we now support Python 3.4+ moving forward we no longer need to make use of the 3rd party mock module
|
| |\
| |
| |
| |
| | |
Also:
- Bumped version to 0.9.0
|
| | |
| |
| |
| |
| | |
- Bumped version to 0.8.5
- Added details to CHANGELOG.md regarding recent changes
|
| |\ \
| |/
| |
| |
| | |
# Conflicts:
# cmd2.py
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
Also:
- Bumped version to 0.8.4
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
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.
|
| | |
|