nodes:stage:lease:acquire

Acquire an edit lease for an existing node.

Reference for flywheel nodes:stage:lease:acquire.

Command Group

Nodes & Graph Commands

Summary

Acquire an edit lease for an existing node.

Usage

flywheel nodes:stage:lease:acquire <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idstringTarget node identifier.
--stage_session_idstringClient-provided session identifier for the lease.
--base_committed_revisionintegerCommitted revision the edit is based on.

Optional flags

FlagValueDefaultChoicesDescription
--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

Acquire a lease before committing a staged edit.

flywheel nodes:stage:lease:acquire --node_id n_abc --stage_session_id session-1 --base_committed_revision 7

Acquire a lease using the --key=value long form.

flywheel nodes:stage:lease:acquire --node_id=n_abc --stage_session_id=session-2 --base_committed_revision=12