|
5 | 5 | - No longer setting parser's `prog` value in `with_argparser()` since it gets set in
|
6 | 6 | `Cmd._build_parser()`. This code had previously been restored to support backward
|
7 | 7 | compatibility in `cmd2` 2.0 family.
|
8 |
| - - Removed `table_creator` module in favor of `Rich` tables. |
| 8 | + - Removed table_creator.py in favor of `Rich` tables. |
| 9 | + - Moved string styling functionality from ansi.py to string_utils.py. |
| 10 | + - Moved all string-related functions from utils.py to string_utils.py. |
| 11 | + - Removed all text style Enums from ansi.py in favor of `Rich` styles. |
| 12 | + - Renamed ansi.py to terminal_utils.py to reflect the functions left in it. |
9 | 13 |
|
10 | 14 | - Enhancements
|
11 | 15 | - Simplified the process to set a custom parser for `cmd2's` built-in commands. See
|
12 | 16 | [custom_parser.py](https://github.com/python-cmd2/cmd2/blob/main/examples/custom_parser.py)
|
13 | 17 | example for more details.
|
14 |
| - |
15 | 18 | - Added `Cmd.macro_arg_complete()` which tab completes arguments to a macro. Its default
|
16 | 19 | behavior is to perform path completion, but it can be overridden as needed.
|
17 |
| - |
18 | 20 | - All print methods (`poutput()`, `perror()`, `ppaged()`, etc.) have the ability to print Rich
|
19 | 21 | objects.
|
| 22 | + - Added string_utils.py which contains all string utility functions. |
| 23 | + This includes quoting and alignment functions from utils.py. |
| 24 | + This also includes style-related functions from ansi.py. |
| 25 | + - Added colors.py which contains a StrEnum of all color names supported by Rich. |
| 26 | + - Added styles.py which contains a StrEnum of all cmd2-specific style names and their |
| 27 | + respective style definitions. |
20 | 28 |
|
21 | 29 | - Bug Fixes
|
22 | 30 | - No longer redirecting `sys.stdout` if it's a different stream than `self.stdout`. This fixes
|
|
0 commit comments