Skip to content

flow cache set

Set cached data by key.

Synopsis

The data store is a key-value store that can be used to persist data across executions. Values that are set outside of an executable will persist across all executions until they are cleared. When set within an executable, the data will only persist across serial or parallel sub-executables but all values will be cleared when the parent executable completes. Use the --global flag to force use of the global cache scope, even when called from within an executable.

This will overwrite any existing value for the key.

flow cache set KEY [VALUE] [flags]

Options

  -g, --global   Force use of the global cache scope, even when called from within an executable
  -h, --help     help for set

Options inherited from parent commands

  -L, --log-level string   Log verbosity level (debug, info, fatal) (default "info")
      --sync               Sync flow cache and workspaces

SEE ALSO