From c96e2c55d4a9616d41c3cdc5324ce0021eb74626 Mon Sep 17 00:00:00 2001 From: ldericher <40151420+ldericher@users.noreply.github.com> Date: Fri, 22 Oct 2021 17:52:46 +0200 Subject: [PATCH] "kiwi list" stub --- kiwi_scp/commands/cmd_list.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kiwi_scp/commands/cmd_list.py b/kiwi_scp/commands/cmd_list.py index 3a39cbb..819b6da 100644 --- a/kiwi_scp/commands/cmd_list.py +++ b/kiwi_scp/commands/cmd_list.py @@ -1,12 +1,13 @@ -from pathlib import Path - import click from kiwi_scp.misc import service_command -@click.command() +@click.command( + "list", + short_help="Inspect a kiwi-scp instance", +) @service_command 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}")