Skip to content

nexoctl cache policy export

Export the defined cache policies as YAML

Synopsis

Export a defined cache policy (every defined policy without NAME, one YAML document each): the documents of "nexoctl cache policy import".

nexoctl cache policy export ALIAS [NAME] [-o FILE] [flags]

Examples

  nexoctl cache policy export local -o policies.yaml

Options

  -h, --help            help for export
  -o, --output string   write the documents to this file

Options inherited from parent commands

      --config-dir string   configuration directory (default $NEXOCTL_CONFIG_DIR or ~/.nexoctl)
      --debug               dump the HTTP requests and responses on stderr, with the secrets redacted
      --json                print JSON Lines (one object per line with a "status" member)
      --no-color            disable colors (also with the NO_COLOR environment variable)
  -q, --quiet               hide confirmations and progress (results and errors are still printed)

SEE ALSO