Command: var init
The var init
creates an example variable specification file that can be used
as a starting point to customize further.
Usage
When no filename is supplied, a default filename of "spec.nv.hcl" or "spec.nv.json" will be used depending on the output format.
Init Options
-out
(enum: hcl | json)
: Format of generated variable specification. Defaults tohcl
.-quiet
: Do not print success message.
Examples
Create an example variable specification: