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.
shell
flow cache set KEY [VALUE] [flags]Options
| Flag | Type | Description |
|---|---|---|
-g, --global | Force use of the global cache scope, even when called from within an executable | |
-h, --help | help for set | |
-o, --output | string | Output format. One of: yaml, json, or tui. |
Options inherited from parent commands
| Flag | Type | Description |
|---|---|---|
-L, --log-level | string | Log verbosity level (debug, info, fatal) (default "info") |
--sync | Sync flow cache and workspaces |
See also
- flow cache — Manage temporary key-value data.

