Skip to content
1 min read

fj instances

List and select the Forgejo instances owned by your Fjord Account

fj instances [OPTIONS] [COMMAND]

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

Options

  • --account <ACCOUNT> — Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • --json — Emit JSON instead of a table. Only meaningful with list (or with no subcommand, which defaults to list)

fj instances list

List the Forgejo instances owned by this Fjord Account, plus the shared community forge (the Commons) when the account has joined it

fj instances list [OPTIONS]

Options

  • --json — Emit JSON instead of a table
  • --account <ACCOUNT> — Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]

fj instances use

Set the default Forgejo instance subsequent commands will route to

fj instances use [OPTIONS] <ID_OR_SLUG>

Arguments

  • <ID_OR_SLUG> — Instance id or slug (as printed by fj instances list). commons names the shared community forge; when it is browser-only it is opened in the browser instead and the default instance is left unchanged

Options

  • --account <ACCOUNT> — Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]
  • --color <COLOR> — When to use ANSI color in output [default: auto][possible values: auto, always, never]
  • --json — Emit JSON instead of a table. Only meaningful with list (or with no subcommand, which defaults to list)
Contributors
  • Stephen Way