(config_path: str)
parse and output the json representation of a Kodiak config
parse and output the json representation of a Kodiak config
parse and output the json representation of a Kodiak config
def validate_config(config_path: str) -> None:
    """
    parse and output the json representation of a Kodiak config
    """
    cfg_text = Path(config_path).read_text()
    cfg_file = V1.parse_toml(cfg_text)
    assert isinstance(cfg_file, V1)
    click.echo(cfg_file.json(indent=2))
def validate_config ( config_path : str ) -> None : cfg_text = Path ( config_path ) . read_text ( ) cfg_file = V1 . parse_toml ( cfg_text ) assert isinstance ( cfg_file , V1 ) click . echo ( cfg_file . json ( indent = 2 ) )