|
9 | 9 | ## 0.10.0 (February 7, 2020)
|
10 | 10 | * Enhancements
|
11 | 11 | * Changed the default help text to make `help -v` more discoverable
|
12 |
| - * **set** command now supports tab-completion of values |
| 12 | + * **set** command now supports tab completion of values |
13 | 13 | * Added `add_settable()` and `remove_settable()` convenience methods to update `self.settable` dictionary
|
14 | 14 | * Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background colors
|
15 | 15 | * `ansi.style()` `fg` argument can now either be of type `str` or `ansi.fg`
|
|
185 | 185 | `delimiter_complete`, `flag_based_complete`, `index_based_complete`, `path_complete`, `shell_cmd_complete`
|
186 | 186 | * Renamed history option from `--output-file` to `--output_file`
|
187 | 187 | * Renamed `matches_sort_key` to `default_sort_key`. This value determines the default sort ordering of string
|
188 |
| - results like alias, command, category, macro, settable, and shortcut names. Unsorted tab-completion results |
| 188 | + results like alias, command, category, macro, settable, and shortcut names. Unsorted tab completion results |
189 | 189 | also are sorted with this key. Its default value (ALPHABETICAL_SORT_KEY) performs a case-insensitive alphabetical
|
190 | 190 | sort, but it can be changed to a natural sort by setting the value to NATURAL_SORT_KEY.
|
191 | 191 | * `StatementParser` now expects shortcuts to be passed in as dictionary. This eliminates the step of converting the
|
|
434 | 434 | * ``ACHelpFormatter`` now inherits from ``argparse.RawTextHelpFormatter`` to make it easier
|
435 | 435 | for formatting help/description text
|
436 | 436 | * Aliases are now sorted alphabetically
|
437 |
| - * The **set** command now tab-completes settable parameter names |
| 437 | + * The **set** command now tab completes settable parameter names |
438 | 438 | * Added ``async_alert``, ``async_update_prompt``, and ``set_window_title`` functions
|
439 | 439 | * These allow you to provide feedback to the user in an asychronous fashion, meaning alerts can
|
440 | 440 | display when the user is still entering text at the prompt. See [async_printing.py](https://github.com/python-cmd2/cmd2/blob/master/examples/async_printing.py)
|
|
468 | 468 | * Improved implementation of lifecycle hooks to support a plugin
|
469 | 469 | framework, see ``docs/hooks.rst`` for details.
|
470 | 470 | * New dependency on ``attrs`` third party module
|
471 |
| - * Added ``matches_sorted`` member to support custom sorting of tab-completion matches |
| 471 | + * Added ``matches_sorted`` member to support custom sorting of tab completion matches |
472 | 472 | * Added [tab_autocomp_dynamic.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocomp_dynamic.py) example
|
473 | 473 | * Demonstrates updating the argparse object during init instead of during class construction
|
474 | 474 | * Deprecations
|
|
498 | 498 | * Bug Fixes
|
499 | 499 | * Fixed issue where piping and redirecting did not work correctly with paths that had spaces
|
500 | 500 | * Enhancements
|
501 |
| - * Added ability to print a header above tab-completion suggestions using `completion_header` member |
| 501 | + * Added ability to print a header above tab completion suggestions using `completion_header` member |
502 | 502 | * Added ``pager`` and ``pager_chop`` attributes to the ``cmd2.Cmd`` class
|
503 | 503 | * ``pager`` defaults to **less -RXF** on POSIX and **more** on Windows
|
504 | 504 | * ``pager_chop`` defaults to **less -SRXF** on POSIX and **more** on Windows
|
|
570 | 570 | * Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item``
|
571 | 571 | * Enhancements
|
572 | 572 | * Added warning about **libedit** variant of **readline** not being supported on macOS
|
573 |
| - * Added tab-completion of alias names in value field of **alias** command |
| 573 | + * Added tab completion of alias names in value field of **alias** command |
574 | 574 | * Enhanced the ``py`` console in the following ways
|
575 | 575 | * Added tab completion of Python identifiers instead of **cmd2** commands
|
576 | 576 | * Separated the ``py`` console history from the **cmd2** history
|
|
628 | 628 | ## 0.8.2 (March 21, 2018)
|
629 | 629 |
|
630 | 630 | * Bug Fixes
|
631 |
| - * Fixed a bug in tab-completion of command names within sub-menus |
| 631 | + * Fixed a bug in tab completion of command names within sub-menus |
632 | 632 | * Fixed a bug when using persistent readline history in Python 2.7
|
633 | 633 | * Fixed a bug where the ``AddSubmenu`` decorator didn't work with a default value for ``shared_attributes``
|
634 | 634 | * Added a check to ``ppaged()`` to only use a pager when running in a real fully functional terminal
|
|
685 | 685 | and [arg_print.py](https://github.com/python-cmd2/cmd2/blob/master/examples/arg_print.py) examples
|
686 | 686 | * Added support for Argparse subcommands when using the **with_argument_parser** or **with_argparser_and_unknown_args** decorators
|
687 | 687 | * See [subcommands.py](https://github.com/python-cmd2/cmd2/blob/master/examples/subcommands.py) for an example of how to use subcommands
|
688 |
| - * Tab-completion of subcommand names is automatically supported |
| 688 | + * Tab completion of subcommand names is automatically supported |
689 | 689 | * The **__relative_load** command is now hidden from the help menu by default
|
690 | 690 | * This command is not intended to be called from the command line, only from within scripts
|
691 | 691 | * The **set** command now has an additional **-a/--all** option to also display read-only settings
|
|
712 | 712 | * Fixed a couple broken examples
|
713 | 713 | * Enhancements
|
714 | 714 | * Improved documentation for modifying shortcuts (command aliases)
|
715 |
| - * Made ``pyreadline`` a dependency on Windows to ensure tab-completion works |
| 715 | + * Made ``pyreadline`` a dependency on Windows to ensure tab completion works |
716 | 716 | * Other changes
|
717 | 717 | * Abandoned official support for Python 3.3. It should still work, just don't have an easy way to test it anymore.
|
718 | 718 |
|
|
750 | 750 | * Fixed some pyperclip clipboard interaction bugs on Linux
|
751 | 751 | * Fixed some timing bugs when running unit tests in parallel by using monkeypatch
|
752 | 752 | * Enhancements
|
753 |
| - * Enhanced tab-completion of cmd2 command names to support case-insensitive completion |
| 753 | + * Enhanced tab completion of cmd2 command names to support case-insensitive completion |
754 | 754 | * Added an example showing how to remove unused commands
|
755 | 755 | * Improved how transcript testing handles prompts with ANSI escape codes by stripping them
|
756 | 756 | * Greatly improved implementation for how command output gets piped to a shell command
|
|
766 | 766 | * Enhancements
|
767 | 767 | * Organized all attributes used to configure the ParserManager into a single location
|
768 | 768 | * Set the default value of `abbrev` to `False` (which controls whether or not abbreviated commands are allowed)
|
769 |
| - * With good tab-completion of command names, using abbreviated commands isn't particularly useful |
| 769 | + * With good tab completion of command names, using abbreviated commands isn't particularly useful |
770 | 770 | * And it can create complications if you are't careful
|
771 | 771 | * Improved implementation of `load` to use command queue instead of nested inner loop
|
772 | 772 |
|
|
778 | 778 | * Ability to pipe ``cmd2`` command output to a shell command is now more reliable, particularly on Windows
|
779 | 779 | * Fixed a bug in ``pyscript`` command on Windows related to ``\`` being interpreted as an escape
|
780 | 780 | * Enhancements
|
781 |
| - * Ensure that path and shell command tab-completion results are alphabetically sorted |
| 781 | + * Ensure that path and shell command tab completion results are alphabetically sorted |
782 | 782 | * Removed feature for load command to load scripts from URLS
|
783 | 783 | * It didn't work, there were no unit tests, and it felt out of place
|
784 | 784 | * Removed presence of a default file name and default file extension
|
|
801 | 801 | * Enhancements
|
802 | 802 | * Added the ability to exclude commands from the help menu (**eof** included by default)
|
803 | 803 | * Redundant **list** command removed and features merged into **history** command
|
804 |
| - * Added **pyscript** command which supports tab-completion and running Python scripts with arguments |
805 |
| - * Improved tab-completion of file system paths, command names, and shell commands |
| 804 | + * Added **pyscript** command which supports tab completion and running Python scripts with arguments |
| 805 | + * Improved tab completion of file system paths, command names, and shell commands |
806 | 806 | * Thanks to Kevin Van Brunt for all of the help with debugging and testing this
|
807 | 807 | * Changed default value of USE_ARG_LIST to True - this affects the beavhior of all **@options** commands
|
808 | 808 | * **WARNING**: This breaks backwards compatibility, to restore backwards compatibility, add this to the
|
|
0 commit comments