eval command
This command enables the evaluation of a forma.
Usage
formae eval [OPTIONS] <forma file>
Options
Option | Description |
---|---|
--beautify |
Beautify output (human consumer only) [default: "true"] |
--colorize |
Colorize output (human consumer only) [default: "true"] |
--mode |
Apply mode (reconcile | patch) [default: "reconcile"] |
--output-consumer |
Consumer of the command result (human | machine) [default: "human"] |
--output-schema |
Output schema (json | yaml) [default: "json"] |
Consumer
Currently, there are two consumers:
- human (default): The CLI assumes a human user is interacting with it. Output is less strictly formatted and more verbose
- machine: The CLI assumes the data printed to stdout will be processed by a machine or another tool
Schema
Output schema determines the output format. Please note that not all schema plugins currently support output.
Properties
Properties are exposed as CLI command options but are dynamically determined based on the forma file provided with the command. These options only become visible and available after parsing the forma, ensuring that all configuration options align perfectly with the specific infrastructure resources you're working with. This approach means there are no static property options to document here, as they are derived directly from the forma's content at runtime.