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

@@ -4,9 +4,9 @@ from cyclopts import App, Argument, Parameter
from . import console
from .context import Context
from .help import CustomHelpFormatter
from .help import BusHelpFormatter
app = App(name='bus', help_formatter=CustomHelpFormatter())
app = App(name='bus', help_formatter=BusHelpFormatter())
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 1.
# app.command(eq.app.meta, name='eq')