Allow workerup to run without login (#296)

This commit is contained in:
Sterling Dreyer 2025-03-15 14:47:43 -07:00 committed by GitHub
parent 7428397318
commit 54fb135a3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -611,7 +611,7 @@ def main_callback(
help="Print version and exit.",
),
) -> 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:
return