1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-22 12:53:00 +00:00
kiwi-scp/kiwi_scp/commands/cmd_init.py

21 lines
389 B
Python
Raw Normal View History

import click
from .cli import KiwiCTX, pass_kiwi_ctx
@click.command(
"init",
short_help="Initializes kiwi-scp"
)
@click.argument(
"path",
required=False,
type=click.Path(resolve_path=True)
)
@pass_kiwi_ctx
def cmd(ctx: KiwiCTX, path):
"""Initialize or reconfigure a kiwi-scp instance"""
click.echo(f"Hello init, kiwi version {ctx.config.version}")
pass