2020-08-08 17:41:11 +00:00
|
|
|
from ..config import LoadedConfig
|
|
|
|
from ..core import Parser
|
2020-08-06 12:55:27 +00:00
|
|
|
|
2020-08-08 17:41:11 +00:00
|
|
|
from ._utils import SubCommand
|
2020-08-06 12:55:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ShowCommand(SubCommand):
|
|
|
|
__parser = None
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def get_cmd(cls):
|
|
|
|
return 'show'
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def setup(cls):
|
|
|
|
cls.__parser = Parser.get_subparsers().add_parser(cls.get_cmd(), help="Show effective kiwi.yml")
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def run(cls):
|
2020-08-08 17:41:11 +00:00
|
|
|
config = LoadedConfig.get()
|
2020-08-06 12:55:27 +00:00
|
|
|
print(config)
|