16 lines
453 B
Python
16 lines
453 B
Python
from __future__ import annotations
|
|
|
|
import click
|
|
import typer.core
|
|
|
|
|
|
class TJWaterGroup(typer.core.TyperGroup):
|
|
def format_help(self, ctx: click.Context, formatter: click.HelpFormatter) -> None:
|
|
super().format_help(ctx, formatter)
|
|
from .helping import build_group_help_appendix
|
|
|
|
appendix = build_group_help_appendix(ctx)
|
|
if appendix:
|
|
formatter.write_paragraph()
|
|
formatter.write_text(appendix)
|