Skip to content

cofidectl init

Initialises the Cofide config file

This command initialises a new Cofide config file in the current working directory

cofidectl init [flags]
--data-source-plugin string Data source plugin (default "local")
--enable-connect Enables Cofide Connect
-h, --help help for init
--provision-plugin string Provision plugin (default "spire-helm")
--config string cofidectl config file (default "cofide.yaml")
--dir string directory to write the generated docs to (default "docs/cli")
--format string output format: md, md-site, man or rest (default "md")
--kube-config string kubeconfig file location (default "$HOME/.kube/config")
--link-prefix string md-site only, required: URL path the generated pages are published under, used to rewrite links between them
--log-level string log level (overrides the COFIDECTL_LOG_LEVEL environment variable) (default "ERROR")