Cmd2

Latest version: v2.5.11

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 17

0.7.2

- Added a MANIFEST.ini file to make sure a few extra files get included in the PyPI source distribution

0.7.1

- Bug fixes
- `-` wasn't being treated as a legal character
- The allow_cli_args attribute wasn't properly disabling parsing of args at invocation when False
- py command wasn't allowing scripts which used _cmd_ function prior to entering an interactive Python session
- Don't throw exception when piping output to a shell command
- Transcript testing now properly calls `preloop` before and `postloop` after
- Fixed readline bug related to ANSI color escape codes in the prompt
- Added CONTRIBUTING.md and CODE_OF_CONDUCT.md files
- Added unicode parsing unit tests and listed unicode support as a feature when using Python 3
- Added more examples and improved documentation
- Example for how use cmd2 in a way where it doesn't own the main loop so it can integrate with external event loops
- Example for how to use argparse for parsing command-line args at invocation
- Example for how to use the **py** command to run Python scripts which use conditional control flow
- Example of how to use regular expressions in a transcript test
- Added CmdResult namedtumple for returning and storing results
- Added local file system path completion for `edit`, `load`, `save`, and `shell` commands
- Add shell command completion for `shell` command or `!` shortcut
- Abbreviated multiline commands are no longer allowed (they never worked correctly anyways)

0.7.0

- Refactored to use six module for a unified codebase which supports both Python 2 and Python 3
- Stabilized on all platforms (Windows, Mac, Linux) and all supported Python versions (2.7, 3.3, 3.4, 3.5, 3.6, PyPy)
- Added lots of unit tests and fixed a number of bugs
- Improved documentation and moved it to cmd2.readthedocs.io

0.6.9

- Support Python 3 input()
- Fix subprocess.mswindows bug
- Add Python3.6 support
- Drop distutils from setup.py

0.6.8

- better editor checking (by Ian Cordascu)

0.6.6.1

- No changes to code trunk. Generated sdist from Python 2.7 to avoid 2to3 changes being applied to source. (Issue https://bitbucket.org/catherinedevlin/cmd2/issue/6/packaging-bug)

Page 16 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.