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

16 lines
307 B
Python
Raw Normal View History

from ..config import LoadedConfig
2020-08-06 12:55:27 +00:00
from ._utils import SubCommand
2020-08-06 12:55:27 +00:00
class ShowCommand(SubCommand):
def __init__(self):
super().__init__(
2020-08-10 14:15:10 +00:00
'show',
description="Show effective kiwi.yml"
2020-08-10 09:24:39 +00:00
)
2020-08-06 12:55:27 +00:00
def run(self):
config = LoadedConfig.get()
2020-08-06 12:55:27 +00:00
print(config)