NOVA CLI reference 0.5.0 GitHub
  1. nova
  2. nova cell

nova cell save

Save the cell setup to file

Synopsis

Saves the cell configuration to a file.

The filename will be "cellname.cell". The content can be either in json or yaml format (select via --json flag). -o json only changes what is printed: the file name, path and format as JSON (the file stays yaml without --json).

If no name is given, the default cellname is used (which can be changed with 'nova config set cellname <name>').

nova cell save [cellname] [flags]

Examples


	# save the default cell configuration to yaml file
	nova cell save

	# save the default cell configuration to json file
	nova cell save --json

	# save a specific cell configuration to yaml
	nova cell save mycell

Options

  -h, --help            help for save
      --json            If set, the file will be save in json format. Otherwise it will be stored in yaml format.
  -o, --output format   Output format: text or json (default text)

Options inherited from parent commands

      --debug                      Write diagnostic output to stderr: HTTP requests and responses, external commands, the resolved instance. Known secrets are redacted, but bodies (app environments, kubeconfigs) can still contain some: don't share the output unreviewed (env: NOVA_DEBUG=1)
      --env string                 (Wandelbots internal) Portal environment for this invocation: prod, stg or dev (default: the environment of the cloud instance, else of the last 'nova login'; env: NOVA_ENV)
      --insecure-skip-tls-verify   If true, the server's certificate will not be checked for validity (disables TLS verification for all requests)
      --instance string            Name of the instance to work against for this invocation (overrides the selected instance; env: NOVA_INSTANCE)

SEE ALSO