mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-12-25 18:42:59 +00:00
"kiwi show" stub
This commit is contained in:
parent
1621e13360
commit
a787f515dd
2 changed files with 13 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||
<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="EMULATE_TERMINAL" value="false" />
|
||||
<option name="MODULE_MODE" value="true" />
|
||||
|
|
12
kiwi_scp/commands/cmd_show.py
Normal file
12
kiwi_scp/commands/cmd_show.py
Normal 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}")
|
Loading…
Reference in a new issue