mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-24 13:43:01 +00:00
13 lines
344 B
Python
13 lines
344 B
Python
import click
|
|
|
|
from kiwi_scp.misc import service_command
|
|
|
|
|
|
@click.command(
|
|
"list",
|
|
short_help="Inspect a kiwi-scp instance",
|
|
)
|
|
@service_command
|
|
def cmd(project: str, service: str):
|
|
"""List projects in this instance, services inside a project or service(s) inside a project"""
|
|
print(f"project: {project!r}, service: {service!r}")
|