avr variable
Manage organization and repository variables.
avr variable [OPTIONS] COMMAND [ARGS]...Subcommands
Section titled “Subcommands”avr variable delete
Section titled “avr variable delete”Delete one scoped value, or the whole name with --all.
avr variable delete [OPTIONS] NAMEJSON FIELDS availability, label, message, name, resource_id, stage, status, variant_id, version_idArguments
NAME
Options
--all— Delete the name and all of its scoped values.--jq, -q<TEXT>— Filter JSON with an embedded jq expression.--json<TEXT>— Output comma-separated fields, * for all, or ? to list fields.--org, -o<TEXT>— Organization ID or slug; does not broaden availability.--repo, -R<TEXT>— Repository full name or ID; defaults to the current checkout.--variant<TEXT>— Select an existing scoped value by label.--variant-id<TEXT>— Select an existing scoped value by ID.--yes, -y— Skip confirmation.
avr variable edit
Section titled “avr variable edit”Edit description, label, or availability without replacing a value.
avr variable edit [OPTIONS] NAMEJSON FIELDS availability, label, message, name, resource_id, stage, status, variant_id, version_idArguments
NAME
Options
--branch<TEXT>— Branch pattern; repeat for alternatives. (default:()· repeatable)--clear-branch— Remove branch restrictions.--clear-env— Remove environment restrictions.--clear-label— Clear the scoped value label.--clear-workflow— Remove workflow restrictions.--description<TEXT>— Organization-wide description shared by all scoped values; an empty string clears it.--env, -e<TEXT>— Environment pattern; repeat for alternatives. (default:()· repeatable)--jq, -q<TEXT>— Filter JSON with an embedded jq expression.--json<TEXT>— Output comma-separated fields, * for all, or ? to list fields.--label<TEXT>— Label for the scoped value.--org, -o<TEXT>— Organization ID or slug; does not broaden availability.--repo, -R<TEXT>— Repository full name or ID; defaults to the current checkout.--repos<TEXT>— Organization availability: repository names or IDs, comma-separated. (default:()· repeatable)--variant<TEXT>— Select an existing scoped value by label.--variant-id<TEXT>— Select an existing scoped value by ID.--visibility<TEXT>— Organization availability: all, private, or selected (requires --repos).--workflow<TEXT>— Workflow path pattern; repeat for alternatives. (default:()· repeatable)
avr variable get
Section titled “avr variable get”Inspect a variable.
avr variable get [OPTIONS] NAMEJSON FIELDS availability, current_version, current_version_created_at, current_version_id, has_value, label, updated_at, value, variable_variant_idArguments
NAME
Options
--jq, -q<TEXT>— Filter JSON with an embedded jq expression.--json<TEXT>— Output comma-separated fields, * for all, or ? to list fields.--org, -o<TEXT>— Organization ID or slug; does not broaden availability.--repo, -R<TEXT>— Repository full name or ID; defaults to the current checkout.--variant<TEXT>— Select an existing scoped value by label.--variant-id<TEXT>— Select an existing scoped value by ID.
avr variable list
Section titled “avr variable list”List names, scoped-value counts, and update times.
avr variable list [OPTIONS]JSON FIELDS description, name, updated_at, variable_id, variantsOptions
--jq, -q<TEXT>— Filter JSON with an embedded jq expression.--json<TEXT>— Output comma-separated fields, * for all, or ? to list fields.--org, -o<TEXT>— Organization ID or slug; does not broaden availability.--repo, -R<TEXT>— Repository full name or ID; defaults to the current checkout.
avr variable set
Section titled “avr variable set”Create or replace a scoped value.
avr variable set [OPTIONS] [NAME]JSON FIELDS availability, label, message, name, resource_id, stage, status, variant_id, version_idArguments
[NAME]
Options
--body, -b<TEXT>— Variable value; otherwise prompt or read stdin.--branch<TEXT>— Branch pattern; repeat for alternatives. (default:()· repeatable)--description<TEXT>— Description for a newly created name; use edit to change an existing description.--env, -e<TEXT>— Environment pattern; repeat for alternatives. (default:()· repeatable)--env-file, -f<TEXT>— Read literal NAME=value entries from a dotenv file (- for stdin); no expansion.--jq, -q<TEXT>— Filter JSON with an embedded jq expression.--json<TEXT>— Output comma-separated fields, * for all, or ? to list fields.--label<TEXT>— Label for the scoped value.--org, -o<TEXT>— Organization ID or slug; does not broaden availability.--repo, -R<TEXT>— Repository full name or ID; defaults to the current checkout.--repos<TEXT>— Organization availability: repository names or IDs, comma-separated. (default:()· repeatable)--variant<TEXT>— Select an existing scoped value by label.--variant-id<TEXT>— Select an existing scoped value by ID.--visibility<TEXT>— Organization availability: all, private, or selected (requires --repos).--workflow<TEXT>— Workflow path pattern; repeat for alternatives. (default:()· repeatable)