Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions roar/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ def cli(ctx: click.Context) -> None:
\b
Setup and Configuration:
roar config View or set configuration

\b
Account:
roar auth key Show the SSH key used for GLaaS signup
"""
ctx.ensure_object(dict)
Expand Down
2 changes: 1 addition & 1 deletion roar/cli/command_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class CommandSpec:
"roar.cli.commands.auth",
"auth",
"Manage GLaaS auth and SSH keys",
"Setup and Admin",
"GLaaS / TReqs Account",
),
CommandSpec(
"config",
Expand Down
10 changes: 9 additions & 1 deletion tests/unit/test_cli_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,21 @@ def test_help_groups_are_built_from_command_specs() -> None:
"get",
"label",
)
assert help_groups["Setup and Admin"] == (
"config",
"env",
"tracer",
"telemetry",
"proxy",
)
assert help_groups["GLaaS / TReqs Account"] == (
"auth",
"login",
"logout",
"whoami",
"scope",
"workflow",
)
assert "telemetry" in help_groups["Setup and Admin"]


def test_help_does_not_list_composite_command() -> None:
Expand Down Expand Up @@ -70,6 +77,7 @@ def test_help_shows_account_commands_by_default() -> None:
assert "Share and Publish:" in result.output
assert "Setup and Admin:" in result.output
assert "GLaaS / TReqs Account:" in result.output
assert "Manage GLaaS auth and SSH keys" in result.output
assert "Store global GLaaS/TReqs auth state" in result.output
assert "Show current GLaaS/TReqs login and repo binding" in result.output
assert "projects" not in result.output
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading