From a787f515dd6796b43c4c9b9474bf2dafd0365559 Mon Sep 17 00:00:00 2001
From: ldericher <40151420+ldericher@users.noreply.github.com>
Date: Thu, 21 Oct 2021 04:02:38 +0200
Subject: [PATCH] "kiwi show" stub
---
.idea/runConfigurations/kiwi_next.xml | 2 +-
kiwi_scp/commands/cmd_show.py | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 kiwi_scp/commands/cmd_show.py
diff --git a/.idea/runConfigurations/kiwi_next.xml b/.idea/runConfigurations/kiwi_next.xml
index ad46889..dbd0110 100644
--- a/.idea/runConfigurations/kiwi_next.xml
+++ b/.idea/runConfigurations/kiwi_next.xml
@@ -12,7 +12,7 @@
-
+
diff --git a/kiwi_scp/commands/cmd_show.py b/kiwi_scp/commands/cmd_show.py
new file mode 100644
index 0000000..3a39cbb
--- /dev/null
+++ b/kiwi_scp/commands/cmd_show.py
@@ -0,0 +1,12 @@
+from pathlib import Path
+
+import click
+
+from kiwi_scp.misc import service_command
+
+
+@click.command()
+@service_command
+def cmd(project: str, service: str):
+ project = str(Path(project))
+ print(f"project: {project!r}, service: {service!r}")