hosted:node-tag:assign

Commit assigning a tag to a node.

Reference for flywheel hosted:node-tag:assign.

Commit an assignment to the hosted repository named by --repository-id. Add --scope-repository-id <repository_id> for a tag scoped in another repository. Insufficient repository membership returns 403 repository_forbidden (CLI exit 3); to add your own node under a readable parent without joining its repository, run flywheel hosted:node:create --parent <node_id> --title 'My addition', which places it in your fork when you have no write role there. An unreadable or missing tag scope returns 409 repository_tag_scope_unreadable, naming only the supplied tag_id, scope_node_id and scope_repository_id; nothing is published. Ask for read access or use a tag defined in a repository you can read. A readable scope's inactive definition keeps tag definition is not active. Hosted commands have no unpublished commits to drop.

Command Group

Hosted Repository

Summary

Commit assigning a tag to a node.

Usage

flywheel hosted:node-tag:assign <FLAGS> <ARGS>…

Arguments

ArgumentRequiredChoicesDescription
<scope_node_id>YesTag scope node UUID.
<node_id>YesNode UUID.
<tag_id>YesTag identifier.

Required flags

FlagValueDefaultChoicesDescription
--repository-idstringHosted repository UUID.

Optional flags

FlagValueDefaultChoicesDescription
--scope-repository-idstringRepository UUID holding the tag's scope node; omit it for a definition in this repository. Local edits do not look up or check access to that repository; the hosted service checks it when publishing.
--messagestringHosted commit message.
--expected-headstringExpected hosted head; skips the automatic head read.
--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

Commit assigning a tag to a node.

flywheel hosted:node-tag:assign --repository-id=<uuid> <scope_node_id> <node_id> <tag_id> --format=json