Skip to content

Commit 653d704

Browse files
committed
Fix changed behavior for fastapi cloud command without subcommand
1 parent 12a7d06 commit 653d704

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fastapi_cloud_cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626

2727

28-
@cloud_app.callback(invoke_without_command=True)
28+
@cloud_app.callback()
2929
def cloud_callback(typer_ctx: typer.Context) -> None:
3030
if typer_ctx.invoked_subcommand in COMMANDS_USE_TOKEN:
3131
ctx.initialize(prefer_auth_mode="token")

0 commit comments

Comments
 (0)