We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9046e81 commit 7c90454Copy full SHA for 7c90454
cmd2/argparse_custom.py
@@ -1375,7 +1375,11 @@ def __init__(
1375
self.formatter_creator = formatter_creator
1376
1377
def __rich__(self) -> Group:
1378
- """Perform custom rendering."""
+ """Return a renderable Rich Group object for the class instance.
1379
+
1380
+ This method formats the title and indents the text to match argparse
1381
+ group styling, making the object displayable by a Rich console.
1382
+ """
1383
formatter = self.formatter_creator()
1384
1385
styled_title = Text(
0 commit comments