mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 04:43:00 +00:00
21 lines
379 B
Python
21 lines
379 B
Python
import click
|
|
|
|
from ..config import Config
|
|
|
|
|
|
@click.command(
|
|
"init",
|
|
short_help="Initializes a repo."
|
|
)
|
|
@click.argument(
|
|
"path",
|
|
required=False,
|
|
type=click.Path(resolve_path=True)
|
|
)
|
|
@click.pass_context
|
|
def cmd(ctx, path):
|
|
"""Initializes a repository."""
|
|
kiwi: Config = ctx.obj["cfg"]
|
|
click.echo("Hello init")
|
|
click.echo(kiwi.kiwi_yml)
|
|
pass
|