mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 04:43:00 +00:00
"kiwi list" stub
This commit is contained in:
parent
c8cf2f652f
commit
c96e2c55d4
1 changed files with 5 additions and 4 deletions
|
@ -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}")
|
||||||
|
|
Loading…
Reference in a new issue