2020-08-12 15:46:50 +00:00
|
|
|
# local
|
2020-08-12 14:43:13 +00:00
|
|
|
from ._subcommand import SubCommand
|
2020-08-06 12:55:27 +00:00
|
|
|
|
2020-08-19 14:10:56 +00:00
|
|
|
# parent
|
|
|
|
|
from ..config import LoadedConfig
|
|
|
|
|
|
2020-08-06 12:55:27 +00:00
|
|
|
|
|
|
|
|
class ShowCommand(SubCommand):
|
2020-08-17 08:08:29 +00:00
|
|
|
"""kiwi show"""
|
|
|
|
|
|
2020-08-10 13:48:15 +00:00
|
|
|
def __init__(self):
|
|
|
|
|
super().__init__(
|
2020-08-10 14:15:10 +00:00
|
|
|
'show',
|
2020-08-11 10:08:03 +00:00
|
|
|
description="Show effective kiwi.yml"
|
2020-08-10 09:24:39 +00:00
|
|
|
)
|
2020-08-06 12:55:27 +00:00
|
|
|
|
2020-08-19 14:10:56 +00:00
|
|
|
def _run_instance(self, runner, args):
|
|
|
|
|
print(LoadedConfig.get())
|
2020-08-17 13:00:05 +00:00
|
|
|
return True
|