1 unstable release
0.1.0 | Feb 23, 2024 |
---|
#2360 in Parser implementations
8KB
151 lines
omni-cli
Exposes a single omni
command to convert between commonly used configuration formats.
Usage: omni [OPTIONS] [IN_PATH]
Arguments:
[IN_PATH] The input file to convert. If not specified, the input will be read from stdin
Options:
-o, --out-path <OUT_PATH> The output file to write to. If not specified, the output will be written to stdout
--in-format <IN_FORMAT> If specified, the input will be treated as this format (has precedence over the inference from the file extension). Required when reading from stdin
--out-format <OUT_FORMAT> If specified, the output will be treated as this format (has precedence over the inference from the output file extension). Required when writing to stdout
-h, --help Print help
Dependencies
~3.5–5MB
~94K SLoC