#!/usr/bin/env python
#
import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), "..", "python"))
from KVAN import fuargs, ymlconfig, topdir

@fuargs.action
def show(yml):
    print("top_dir: ", topdir.get_topdir())
    conf = ymlconfig.Config()
    conf.parse(yml)
    conf.pprint()

if __name__ == "__main__":
    fuargs.exec_actions(sys.argv[1:])
    
