Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 79714d0

Browse files
committed
Add name output for pkg show
1 parent 7ad0b58 commit 79714d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/jumpstarter-cli-pkg/jumpstarter_cli_pkg/commands

packages/jumpstarter-cli-pkg/jumpstarter_cli_pkg/commands/show.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def print_package_details(
107107
@opt_output_all
108108
@click.option("--verbose", "-v", is_flag=True, help="Show verbose output.")
109109
@handle_exceptions
110-
def show(
110+
def show( # noqa: C901
111111
package: str, drivers: bool, driver_clients: bool, adapters: bool, output: OutputType, inspect: bool, verbose: bool
112112
):
113113
"""
@@ -139,5 +139,7 @@ def show(
139139
click.echo(local_package.adapters.dump_yaml())
140140
else:
141141
click.echo(local_package.dump_yaml())
142+
case OutputMode.NAME:
143+
click.echo(f"package.jumpstarter.dev/{local_package.name}")
142144
case _:
143145
print_package_details(local_package, drivers, driver_clients, adapters, inspect, verbose)

0 commit comments

Comments
 (0)