Skip to content

Commit 10b3b97

Browse files
committed
Fix celery CLI option to required
1 parent d7f87ed commit 10b3b97

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

backend/cli.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,7 @@ def __call__(self):
184184
@cappa.command(help='运行 Celery 服务')
185185
@dataclass
186186
class Celery:
187-
subcmd: cappa.Subcommands[Worker | Beat | Flower | None] = None
188-
189-
def __call__(self):
190-
console.print('\n更多信息,尝试 "[cyan]--help[/]"')
187+
subcmd: cappa.Subcommands[Worker | Beat | Flower]
191188

192189

193190
@cappa.command(help='新增插件')

0 commit comments

Comments
 (0)