2021-10-21 02:02:38 +00:00
|
|
|
import click
|
|
|
|
|
|
|
|
from kiwi_scp.misc import service_command
|
|
|
|
|
|
|
|
|
2021-10-22 15:52:46 +00:00
|
|
|
@click.command(
|
|
|
|
"list",
|
|
|
|
short_help="Inspect a kiwi-scp instance",
|
|
|
|
)
|
2021-10-21 02:02:38 +00:00
|
|
|
@service_command
|
|
|
|
def cmd(project: str, service: str):
|
2021-10-22 15:52:46 +00:00
|
|
|
"""List projects in this instance, services inside a project or service(s) inside a project"""
|
2021-10-21 02:02:38 +00:00
|
|
|
print(f"project: {project!r}, service: {service!r}")
|