1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2025-12-08 01:23:01 +00:00
kiwi-scp/src/kiwi/subcommands/show.py

20 lines
416 B
Python

from ..config import LoadedConfig
from ..core import Parser
from ._utils import SubCommand
class ShowCommand(SubCommand):
command = 'show'
@classmethod
def setup(cls):
parser = Parser.get_subparsers().add_parser(
cls.command,
description="Show effective kiwi.yml"
)
@classmethod
def run(cls):
config = LoadedConfig.get()
print(config)