Skip to content

Commit

Permalink
Merge pull request #36 from anaconda/fix/hide-auth-from-dropdown
Browse files Browse the repository at this point in the history
fix: Hide "auth" from the login dropdown list
  • Loading branch information
mattkram authored Feb 28, 2025
2 parents 2f88aa1 + 67c8163 commit 9cba112
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/anaconda_cli_base/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _load_entry_points_for_group(group: str) -> List[Tuple[str, str, Typer]]:

AUTH_HANDLER_ALIASES = {
"cloud": "anaconda.com",
"org": "anaconda.org"
"org": "anaconda.org",
}


Expand All @@ -59,9 +59,6 @@ def load_registered_subcommands(app: Typer) -> None:
if alias:
auth_handlers[alias] = subcommand_app
auth_handler_selectors.append(alias)
else:
auth_handler_selectors.append(name)


app.add_typer(subcommand_app, name=name, rich_help_panel="Plugins")

Expand Down

0 comments on commit 9cba112

Please sign in to comment.