Skip to content

jdbaldry/jsonnet-tool

Repository files navigation

jsonnet-tool

A tool for working with Jsonnet files.

Produce a .dot diagram of the Jsonnet AST for <file>:
  $ ./jsonnet-tool dot <file>

Evaluate Jsonnet using the jsonnet-tool interpreter:
  $ ./jsonnet-tool eval <file>

Produce an expanded Jsonnet representation:
  $ ./jsonnet-tool expand <file>

Produce a JSON array of the layers of object evaluations for <file>:
  $ ./jsonnet-tool layers <file>

List the imports for <file>:
  $ ./jsonnet-tool imports <file>

List the referenceable symbols in <file>:
  $ ./jsonnet-tool symbols <file>

Run a Jsonnet REPL:
  $ ./jsonnet-tool repl

About

A tool for working with Jsonnet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published