Allow workerup to run without login (#296)
This commit is contained in:
parent
7428397318
commit
54fb135a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -611,7 +611,7 @@ def main_callback(
|
||||||
help="Print version and exit.",
|
help="Print version and exit.",
|
||||||
),
|
),
|
||||||
) -> None:
|
) -> None:
|
||||||
excluded_commands = {login.__name__, logout.__name__, serve.__name__}
|
excluded_commands = {login.__name__, logout.__name__, serve.__name__, workerup.__name__}
|
||||||
if ctx.invoked_subcommand in excluded_commands:
|
if ctx.invoked_subcommand in excluded_commands:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue