|
7 | 7 | * **do_*** commands get a single argument which is a list of strings, as pre-parsed by shlex.split() |
8 | 8 | * **with_argument_parser** decorator for strict argparse-based argument parsing of command arguments |
9 | 9 | * **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 |
11 | 11 | * **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 |
14 | 15 | * Added support for Argpasre sub-commands when using the **with_argument_parser** or **with_argparser_and_unknown_args** decorators |
15 | 16 | * See [subcommands.py](https://github.com/python-cmd2/cmd2/blob/master/examples/subcommands.py) for an example of how to use subcommands |
16 | 17 | * The **__relative_load** command is now hidden from the help menu by default |
17 | 18 | * This command is not intended to be called from the command line, only from within scripts |
18 | 19 | * 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. |
20 | 21 | * Commands Removed |
21 | 22 | * The **cmdenvironment** has been removed and its functionality incorporated into the **-a/--all** argument to **set** |
22 | 23 | * 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. |
24 | 25 | * The **run** command has been removed. The capability to run prior commands is now part of the **history** command. |
25 | 26 | * Other changes |
26 | 27 | * 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. |
27 | 28 | * the **autorun_on_edit** setting has been removed. |
28 | 29 | * Deprecations |
29 | 30 | * The old **options** decorator for optparse-based argument parsing is now *deprecated* |
30 | 31 | * 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 |
32 | 33 |
|
33 | 34 |
|
34 | 35 | ## 0.7.9 (January 4, 2018) |
|
0 commit comments