kiwi-scp/src/kiwi/subcommands/show.py

20 lines
401 B
Python

# local
from ._subcommand import SubCommand
# parent
from ..config import LoadedConfig
class ShowCommand(SubCommand):
"""kiwi show"""
def __init__(self):
super().__init__(
'show',
action="Printing",
description="Show effective kiwi.yml"
)
def _run_instance(self, runner, args):
print(LoadedConfig.get())
return True