OS Manuals

/usr/bin/jsonnet-lint

The data templating language Implementation in go.

From go-jsonnet 0.22.0-r14 (os), captured 2026-11-05 by running jsonnet-lint --help (exit 0). permalink

Jsonnet linter v0.22.0

jsonnet-lint {<option>} { <filenames ...> }

Available options:
  -h / --help                This message
  -J / --jpath <dir>         Specify an additional library search dir
                             (right-most wins)
  --version                  Print version

Environment variables:
  JSONNET_PATH is a colon (semicolon on Windows) separated list of directories
  added in reverse order before the paths specified by --jpath (i.e. left-most
  wins). E.g. these are equivalent:
    JSONNET_PATH=a:b jsonnet -J c -J d
    JSONNET_PATH=d:c:a:b jsonnet
    jsonnet -J b -J a -J c -J d

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-lint -- "$FILENAME".

Exit code:
  0 – If the file was checked no problems were found.
  1 – If errors occured which prevented checking (e.g. specified file is missing).
  2 – If problems were found.
Options (3)
OptionDescriptionSource
-h /This messagehelp
-J /Specify an additional library search dir (right-most wins)help
--versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.