1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-22 12:53:00 +00:00

"kiwi list" stub

This commit is contained in:
Jörn-Michael Miehe 2021-10-22 17:52:46 +02:00
parent c8cf2f652f
commit c96e2c55d4

View file

@ -1,12 +1,13 @@
from pathlib import Path
import click import click
from kiwi_scp.misc import service_command from kiwi_scp.misc import service_command
@click.command() @click.command(
"list",
short_help="Inspect a kiwi-scp instance",
)
@service_command @service_command
def cmd(project: str, service: str): def cmd(project: str, service: str):
project = str(Path(project)) """List projects in this instance, services inside a project or service(s) inside a project"""
print(f"project: {project!r}, service: {service!r}") print(f"project: {project!r}, service: {service!r}")