export:subgraph

Export a subgraph snapshot.

Reference for flywheel export:subgraph.

Command Group

Export & Import Commands

Summary

Export a subgraph snapshot.

Usage

flywheel export:subgraph <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idsstringComma-separated list of node identifiers to include in the snapshot.

Optional flags

FlagValueDefaultChoicesDescription
--include_descendantsWhen true, expand each requested node to all visible descendants.
--max_nodesintegerMaximum nodes allowed after expansion (default 500, upper bound 5000).
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Export a root and all visible descendants.

flywheel export:subgraph --node_ids n_abc --include_descendants true --max_nodes 500

Export a single-node subgraph snapshot as CSV.

flywheel export:subgraph --node_ids=n_abc --format=csv