1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-23 05:13:01 +00:00
kiwi-scp/kiwi_scp/commands/cmd_list.py

14 lines
344 B
Python
Raw Normal View History

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}")