lkml icon indicating copy to clipboard operation
lkml copied to clipboard

Add cli options to output lookml

Open remisalmon opened this issue 1 year ago • 1 comments

This should close https://github.com/joshtemple/lkml/issues/88.

> lkml --help
usage: lkml [-h] [-v] [--json | --lookml | -w] file

A blazing fast LookML parser, implemented in pure Python. When invoked from the command line, returns the parsed
output as a JSON string.

positional arguments:
  file           path to the LookML file to parse

options:
  -h, --help     show this help message and exit
  -v, --verbose  increase logging verbosity to debug
  --json         return a JSON string (default)
  --lookml       return a LookML string
  -w, --write    parse and write back to file

remisalmon avatar Feb 16 '24 05:02 remisalmon