add new help formatters for different kinds of commands

This commit is contained in:
2026-02-28 15:39:26 +00:00
parent c660778698
commit c7365bfe4e
7 changed files with 109 additions and 29 deletions

View File

@@ -3,9 +3,9 @@ from typing import Annotated
from cyclopts import App, Argument, Parameter
from .context import Context
from .help import CustomHelpFormatter
from .help import StripSubcommandHelpFormatter
app = App(name='gate', help_formatter=CustomHelpFormatter())
app = App(name='gate', help_formatter=StripSubcommandHelpFormatter())
@app.meta.default