Fix celery CLI option to required (#737)

This commit is contained in:
Wu Clan
2025-07-24 21:32:57 +08:00
committed by GitHub
parent d7f87ed0ad
commit 00a781357b

View File

@@ -184,10 +184,7 @@ class Flower:
@cappa.command(help='运行 Celery 服务')
@dataclass
class Celery:
subcmd: cappa.Subcommands[Worker | Beat | Flower | None] = None
def __call__(self):
console.print('\n更多信息,尝试 "[cyan]--help[/]"')
subcmd: cappa.Subcommands[Worker | Beat | Flower]
@cappa.command(help='新增插件')