Debian Codegraph @

test_cmd/help.golden.stdout

raw
1 Jsonnet commandline interpreter v0.22.0
2
3 jsonnet {<option>} <filename>
4
5 Available options:
6 -h / --help This message
7 -e / --exec Treat filename as code
8 -J / --jpath <dir> Specify an additional library search dir (right-most wins)
9 -o / --output-file <file> Write to the output file rather than stdout
10 -m / --multi <dir> Write multiple files to the directory, list files on stdout
11 -y / --yaml-stream Write output as a YAML stream of JSON documents
12 -S / --string Expect a string, manifest as plain text
13 --no-trailing-newline Do not add a trailing newline to the output
14 -s / --max-stack <n> Number of allowed stack frames
15 -t / --max-trace <n> Max length of stack trace before cropping
16 --gc-min-objects <n> Do not run garbage collector until this many
17 --gc-growth-trigger <n> Run garbage collector after this amount of object growth
18 --version Print version
19 Available options for specifying values of 'external' variables:
20 Provide the value as a string:
21 -V / --ext-str <var>[=<val>] If <val> is omitted, get from environment var <var>
22 --ext-str-file <var>=<file> Read the string from the file
23 Provide a value as Jsonnet code:
24 --ext-code <var>[=<code>] If <code> is omitted, get from environment var <var>
25 --ext-code-file <var>=<file> Read the code from the file
26 Available options for specifying values of 'top-level arguments':
27 Provide the value as a string:
28 -A / --tla-str <var>[=<val>] If <val> is omitted, get from environment var <var>
29 --tla-str-file <var>=<file> Read the string from the file
30 Provide a value as Jsonnet code:
31 --tla-code <var>[=<code>] If <code> is omitted, get from environment var <var>
32 --tla-code-file <var>=<file> Read the code from the file
33 Environment variables:
34 JSONNET_PATH is a colon (semicolon on Windows) separated list of directories added
35 in reverse order before the paths specified by --jpath (i.e. left-most wins)
36 E.g. JSONNET_PATH=a:b jsonnet -J c -J d is equivalent to:
37 JSONNET_PATH=d:c:a:b jsonnet
38 jsonnet -J b -J a -J c -J d
39
40 In all cases:
41 <filename> can be - (stdin)
42 Multichar options are expanded e.g. -abc becomes -a -b -c.
43 The -- option suppresses option processing for subsequent arguments.
44 Note that since filenames and jsonnet programs can begin with -, it is advised to
45 use -- if the argument is unknown, e.g. jsonnet -- "$FILENAME".