mirror of
https://github.com/onyx-and-iris/vban-cli.git
synced 2026-04-16 02:23:30 +00:00
add new help formatters for different kinds of commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user