Skip to content

Commit 339d2ef

Browse files
committed
Merged master into delete_optparse branch
Also: - Bumped version to 0.9.0
2 parents c1d3d46 + d4c6cd4 commit 339d2ef

9 files changed

Lines changed: 356 additions & 257 deletions

File tree

.gitignore

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
# Python development, test, and build
12
__pycache__
23
build
34
dist
45
cmd2.egg-info
5-
.idea
66
.cache
77
*.pyc
8-
.coverage
98
.tox
10-
htmlcov
119
.pytest_cache
10+
11+
# Code Coverage
12+
.coverage
13+
htmlcov
14+
15+
# PyCharm
16+
.idea
17+
18+
# Visual Studio Code
19+
.vscode

CHANGELOG.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
1-
## 0.8.5 (TBD, 2018)
1+
## 0.9.0 (TBD, 2018)
22
* Deletions (potentially breaking changes)
33
* Deleted all ``optparse`` code which had previously been deprecated in release 0.8.0
44
* The ``options`` decorator no longer exists
55
* All ``cmd2`` code should be ported to use the new ``argparse``-based decorators
66
* See the [Argument Processing](http://cmd2.readthedocs.io/en/latest/argument_processing.html) section of the documentation for more information on these decorators
77
* Alternatively, see the [argparse_example.py](https://github.com/python-cmd2/cmd2/blob/master/examples/argparse_example.py)
8-
8+
* Python 2 no longer supported
9+
* ``cmd2`` now supports Python 3.4+
10+
11+
## 0.8.5 (April 15, 2018)
12+
* Bug Fixes
13+
* Fixed a bug with all argument decorators where the wrapped function wasn't returning a value and thus couldn't cause the cmd2 app to quit
14+
15+
* Enhancements
16+
* Added support for verbose help with -v where it lists a brief summary of what each command does
17+
* Added support for categorizing commands into groups within the help menu
18+
* See the [Grouping Commands](http://cmd2.readthedocs.io/en/latest/argument_processing.html?highlight=verbose#grouping-commands) section of the docs for more info
19+
* See [help_categories.py](https://github.com/python-cmd2/cmd2/blob/master/examples/help_categories.py) for an example
20+
* Tab completion of paths now supports ~user user path expansion
21+
* Simplified implementation of various tab completion functions so they no longer require ``ctypes``
22+
* Expanded documentation of ``display_matches`` list to clarify its purpose. See cmd2.py for this documentation.
23+
* Adding opening quote to tab completion if any of the completion suggestions have a space.
24+
25+
* **Python 2 EOL notice**
26+
* This is the last release where new features will be added to ``cmd2`` for Python 2.7
27+
* The 0.9.0 release of ``cmd2`` will support Python 3.4+ only
28+
* Additional 0.8.x releases may be created to supply bug fixes for Python 2.7 up until August 31, 2018
29+
* After August 31, 2018 not even bug fixes will be provided for Python 2.7
30+
931
## 0.8.4 (April 10, 2018)
1032
* Bug Fixes
1133
* Fixed conditional dependency issue in setup.py that was in 0.8.3.

0 commit comments

Comments
 (0)