repo:tag:define

Stage a new tag definition under a scope node.

Reference for flywheel repo:tag:define.

Stage a tag under a scope node. Save a JSON definition file such as \{"name":"Reviewed","bg_color":"#123456","text_color":"#ffffff","one_only":false,"track_history":false\} and run flywheel repo:tag:define <scope_node_id> --repo <path> --definition-file tag.json. Commit the pending change, then use flywheel repo:tag:list <scope_node_id> --repo <path> to read its ID and definition; only a separate repo:push publishes it. See the --definition-file help for the complete eight-field input and validation.

Command Group

Local Repository

Summary

Stage a new tag definition under a scope node.

Usage

flywheel repo:tag:define <FLAGS> <scope_node_id>

Arguments

ArgumentRequiredChoicesDescription
<scope_node_id>YesTag scope node UUID.

Required flags

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

FlagValueDefaultChoicesDescription
--repostringLocal repository filesystem path.
--personalUse the configured personal repository.
--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

Stage a new tag definition under a scope node.

flywheel repo:tag:define <scope_node_id> --definition-file=<definition-file> --format=json