(config_path)
Pretty print config from given config_path
Pretty print config from given config_path
Pretty print config from given config_path
def show_config(config_path):
    """
    Pretty print config from given config_path
    """
    try:
        with open(config_path) as f:
            config = yaml.load(f)
    except FileNotFoundError:
        config = {}

    yaml.dump(config, sys.stdout)
def show_config ( config_path ) : try : with open ( config_path ) as f : config = yaml . load ( f ) except FileNotFoundError : config = { } yaml . dump ( config , sys . stdout )