| JSONNET(1) | User Commands | JSONNET(1) |
Jsonnet - Jsonnet data templating language interpreter
Jsonnet reformatter v0.20.0
jsonnetfmt {<option>} { <filename> }
-o / --output-file <file> Write to the output file rather than stdout
--comment-style <h|s|l> # (h), // (s)(default), or 'leave'; never changes she-bang
--[no-]pretty-field-names Use syntax sugar for fields and indexing (on by default)
In all cases: <filename> can be - (stdin) Multichar options are expanded e.g. -abc becomes -a -b -c. The -- option suppresses option processing for subsequent arguments. Note that since filenames and jsonnet programs can begin with -, it is advised to use -- if the argument is unknown, e.g. jsonnet -- "$FILENAME".
The full documentation for Jsonnet is maintained as a Texinfo manual. If the info and Jsonnet programs are properly installed at your site, the command
should give you access to the complete manual.
| June 2025 | Jsonnet reformatter v0.20.0 |