Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The list command's help text updated. #168

Merged
merged 1 commit into from
Mar 7, 2024
Merged
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
8 changes: 4 additions & 4 deletions dem/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,21 @@ def autocomplete_host_name(incomplete: str) -> Generator:
# DEM commands
@typer_cli.command("list") # "list" is a Python keyword
def list_(local: Annotated[bool, typer.Option(help="Scope is the local host.")] = False,
all: Annotated[bool, typer.Option(help="Scope is the organization.")] = False,
all: Annotated[bool, typer.Option(help="Scope is the catalogs.")] = False,
env: Annotated[bool, typer.Option(help="List the environments.")] = False,
tool: Annotated[bool, typer.Option(help="List the tool images.")] = False) -> None:
"""
List the Development Environments available locally or for the organization.
List the Development Environments available locally or from the catalogs.

The following option combinations are suppported:

--local --env -> List the local Development Environments.

--all --env -> List the organization's Development Environments.
--all --env -> List the Development Environments available from the catalogs.

--local --tool -> List the local tool images.

--all --tool -> List the tool images available in the axemsolutions registry.
--all --tool -> List the tool images available from the registries.
"""
if platform:
list_cmd.execute(platform, local, all, env, tool)
Expand Down
Loading