hosted:tag:update
Commit a changed tag definition.
Reference for flywheel hosted:tag:update.
Read the current definition from a local clone with flywheel repo:tag:list <scope_node_id> --repo <directory>, then commit its change with flywheel hosted:tag:update <scope_node_id> <tag_id> --repository-id <uuid> --definition-file tag.json. The file is a JSON definition object, not a text value; preserve the current history identifiers and counter rather than resetting them to new-tag defaults.
Command Group
Hosted Repository
Summary
Commit a changed tag definition.
Usage
flywheel hosted:tag:update <FLAGS> <scope_node_id> <tag_id>Arguments
| Argument | Required | Choices | Description |
|---|---|---|---|
<scope_node_id> | Yes | Tag scope node UUID. | |
<tag_id> | Yes | Tag identifier. |
Required flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--repository-id | string | Hosted repository UUID. | ||
--definition-file | string | JSON object, not a text value file. Minimal: {"name":"Reviewed","bg_color":"#123456","text_color":"#ffffff","one_only":false,"track_history":false}. Complete: add "history_of_tag_id":null, "history_index":null, "history_next_index":1. Name: 1–256 Unicode code points; colors: # plus six hex digits; flags: booleans. Tracked history requires one_only=true. New tags start with null/null/1 history; updates must preserve the current history fields and counters. Other input keys are ignored by the file reader. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--message | string | Hosted commit message. | ||
--expected-head | string | Expected hosted head; skips the automatic head read. | ||
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Use a configured CLI profile for this invocation. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Skip confirmation prompts for destructive operations. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Commit a changed tag definition.
flywheel hosted:tag:update --repository-id=<uuid> <scope_node_id> <tag_id> --definition-file=<definition-file> --format=json