1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00

"kiwi show" stub

This commit is contained in:
Jörn-Michael Miehe 2021-10-21 04:02:38 +02:00
parent 1621e13360
commit a787f515dd
2 changed files with 13 additions and 1 deletions

View file

@ -12,7 +12,7 @@
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="kiwi_scp.scripts.kiwi_next" /> <option name="SCRIPT_NAME" value="kiwi_scp.scripts.kiwi_next" />
<option name="PARAMETERS" value="init" /> <option name="PARAMETERS" value="show" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="true" /> <option name="MODULE_MODE" value="true" />

View file

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