File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,9 +81,8 @@ prompt is displayed.
8181 - ` cmd2 ` no longer sets a default title for a subparsers group. If you desire a title, you will
8282 need to pass one in like this ` parser.add_subparsers(title="subcommands") ` . This is standard
8383 ` argparse ` behavior.
84- - Added ` HelpFormatterRenderable ` protocol and ` HelpContent ` type alias to support context-aware
85- help content in ` argparse ` .
86- - ` TextGroup ` now implements ` HelpFormatterRenderable ` .
84+ - ` TextGroup ` now implements ` HelpFormatterRenderable ` (see Enhancements section below for more
85+ details).
8786 - Removed ` formatter_creator ` parameter from ` TextGroup.__init__() ` .
8887 - Removed ` Cmd2ArgumentParser.create_text_group() ` method.
8988 - ` argparse ` and ` Rich ` integration refactoring:
@@ -145,6 +144,8 @@ prompt is displayed.
145144 full type hints and IDE autocompletion for ` self._cmd ` without needing to override and cast
146145 the property.
147146 - Added ` traceback_kwargs ` attribute to allow customization of Rich-based tracebacks.
147+ - Added ` HelpFormatterRenderable ` protocol and ` HelpContent ` type alias to support context-aware
148+ help content in ` argparse ` .
148149 - The ` print() ` function available in a ` pyscript ` writes to ` self.stdout ` and respects the
149150 ` allow_style ` setting. It also supports printing ` Rich ` objects.
150151 - Added ` Cmd2ArgumentParser.output_to() ` context manager to temporarily set the output stream
You can’t perform that action at this time.
0 commit comments