Skip to content
1 min read

fj variable

Manage Actions variables

fj variable [OPTIONS] <COMMAND>

Every command also accepts the global flags: --host, --debug, --no-pager, --json-fields.

Options

  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]

fj variable list

List Actions variables

fj variable list [OPTIONS]

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --org <ORG> — Organization scope for shared Actions secrets/variables
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • --json — Emit JSON instead of a table

fj variable set

Set or replace a variable

fj variable set [OPTIONS] <NAME>

Arguments

  • <NAME> — Variable name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --org <ORG> — Organization scope for shared Actions secrets/variables
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • -v, --value <VALUE> — Value (raw string). For multi-line secrets, prefer --from-file - and pipe stdin
  • -f, --from-file <FROM_FILE> — Read value from this file. Use - for stdin

fj variable delete

Delete a variable

fj variable delete [OPTIONS] <NAME>

Arguments

  • <NAME> — Variable name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • --org <ORG> — Organization scope for shared Actions secrets/variables
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • -y, --yes — Skip the confirmation prompt
Contributors
  • Stephen Way