Print a flow as JSON
Synopsis
Prints a flow (its tree, layout and metadata) as JSON.
The output can be edited and saved back with 'nova flow push': it contains the flow's revision, so the push fails instead of overwriting changes made on the instance in the meantime.
nova flow get <id> [flags]
Examples
# print a flow
nova flow get pick-and-place
# save it for editing and 'nova flow push'
nova flow get pick-and-place -o pick-and-place.json
# only the tree
nova flow get pick-and-place | jq .tree
Options
-h, --help help for get
-o, --output string Write to this file instead of stdout
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)
-y, --yes Answer yes to questions, e.g. to install NovaFlow when it is missing
SEE ALSO
- nova flow - Manage NovaFlow and its flows on the current cell