Workerup doesnt need to be logged in (#255)

This commit is contained in:
Eric Gustin 2025-02-18 11:11:15 -08:00 committed by GitHub
parent 49ff013e80
commit 3870e84108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -496,7 +496,7 @@ def main_callback(
help="Print version and exit.",
),
) -> None:
excluded_commands = {login.__name__, logout.__name__}
excluded_commands = {login.__name__, logout.__name__, workerup.__name__}
if ctx.invoked_subcommand in excluded_commands:
return