Skip to content

CLI Reference | kapitan eval

kapitan eval

Evaluates a standalone Jsonnet file and prints the result, without running a full compile. Useful for quickly testing Jsonnet snippets.

Flags

The table below is generated from Kapitan's argument parser at docs-build time, so it always matches the installed version. See also the global flags accepted by every command, and the .kapitan dotfile to set any of these permanently.

Arguments: jsonnet_file

Flag Default Choices Description
--output yaml yaml, json set output format, default is "yaml"
--vars set variables
--search-paths, -J ["."] set search paths, default is ["."]
Share this page