Skip to content

Commit 014371f

Browse files
committed
Added links to docs and examples to CHANGELOG.md
Also bumped version to 0.8.0.
1 parent 4046a69 commit 014371f

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,29 @@
77
* **do_*** commands get a single argument which is a list of strings, as pre-parsed by shlex.split()
88
* **with_argument_parser** decorator for strict argparse-based argument parsing of command arguments
99
* **do_*** commands get a single argument which is the output of argparse.parse_args()
10-
* **with_argparser_and_unknown_args** decorator for argparse-based argument parsing, but allowing unknown args
10+
* **with_argparser_and_unknown_args** decorator for argparse-based argument parsing, but allows unknown args
1111
* **do_*** commands get two arguments, the output of argparse.parse_known_args()
12-
* See the **Argument Processing** section of the documentation for more information on these decorators
13-
* Alternatively, see the **argparse_example.py** and **arg_print.py** examples
12+
* See the [Argument Processing](http://cmd2.readthedocs.io/en/latest/argument_processing.html) section of the documentation for more information on these decorators
13+
* Alternatively, see the [argparse_example.py](https://github.com/python-cmd2/cmd2/blob/master/examples/argpasre_example.py)
14+
and [arg_print.py](https://github.com/python-cmd2/cmd2/blob/master/examples/arg_print.py) examples
1415
* Added support for Argpasre sub-commands when using the **with_argument_parser** or **with_argparser_and_unknown_args** decorators
1516
* See [subcommands.py](https://github.com/python-cmd2/cmd2/blob/master/examples/subcommands.py) for an example of how to use subcommands
1617
* The **__relative_load** command is now hidden from the help menu by default
1718
* This command is not intended to be called from the command line, only from within scripts
1819
* The **set** command now has an additional **-a/--all** option to also display read-only settings
19-
* The **history** command can now run, edit, and save prior commands, in addition to the prior behavior of displaying prior commands.
20+
* The **history** command can now run, edit, and save prior commands, in addition to displaying prior commands.
2021
* Commands Removed
2122
* The **cmdenvironment** has been removed and its functionality incorporated into the **-a/--all** argument to **set**
2223
* The **show** command has been removed. Its functionality has always existing within **set** and continues to do so
23-
* The **save** command has been removed. The capability to save prior commands is now part of the **history** command.
24+
* The **save** command has been removed. The capability to save commands is now part of the **history** command.
2425
* The **run** command has been removed. The capability to run prior commands is now part of the **history** command.
2526
* Other changes
2627
* The **edit** command no longer allows you to edit prior commands. The capability to edit prior commands is now part of the **history** command. The **edit** command still allows you to edit arbitrary files.
2728
* the **autorun_on_edit** setting has been removed.
2829
* Deprecations
2930
* The old **options** decorator for optparse-based argument parsing is now *deprecated*
3031
* The old decorator is still present for now, but will eventually be removed in a future release
31-
* ``cmd2`` no longer includes **optparse.make_option** so if your app needs it you need to import it directly from optparse
32+
* ``cmd2`` no longer includes **optparse.make_option**, so if your app needs it import directly from optparse
3233

3334

3435
## 0.7.9 (January 4, 2018)

cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
except ImportError:
107107
pass
108108

109-
__version__ = '0.8.0a'
109+
__version__ = '0.8.0'
110110

111111
# Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past
112112
pyparsing.ParserElement.enablePackrat()

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
# built documents.
6161
#
6262
# The short X.Y version.
63-
version = '0.7'
63+
version = '0.8'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '0.7.9'
65+
release = '0.8.0'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
from setuptools import setup
88

9-
VERSION = '0.8.0a'
9+
VERSION = '0.8.0'
1010
DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python"
1111
LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
1212
it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It

tests/test_cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
def test_ver():
28-
assert cmd2.__version__ == '0.8.0a'
28+
assert cmd2.__version__ == '0.8.0'
2929

3030

3131
def test_empty_statement(base_app):

0 commit comments

Comments
 (0)