Skip to content

zarf dev generate-config

zarf dev generate-config

Generates a config file for Zarf

Synopsis

Generates a Zarf config file for controlling how the Zarf CLI operates. Optionally accepts a filename to write the config to.

The extension will determine the format of the config file, e.g. env-1.yaml, env-2.json, env-3.toml etc. Accepted extensions are json, toml, yaml.

NOTE: This file must not already exist. If no filename is provided, the config will be written to the current working directory as zarf-config.toml.

zarf dev generate-config [ FILENAME ] [flags]

Options

-h, --help help for generate-config

Options inherited from parent commands

-a, --architecture string Architecture for OCI images and Zarf packages
--insecure-skip-tls-verify Skip checking server's certificate for validity. This flag should only be used if you have a specific reason and accept the reduced security posture.
--log-format string [beta] Select a logging format. Defaults to 'console'. Valid options are: 'console', 'json', 'dev'
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-color Disable colors in output
--no-log-file Disable log file creation
--no-progress Disable fancy UI progress bars, spinners, logos, etc
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
--tmpdir string Specify the temporary directory to use for intermediate files
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

SEE ALSO

  • zarf dev - Commands useful for developing packages