Skip to content

avr org

Manage organizations and installations.

Terminal window
avr org [OPTIONS] COMMAND [ARGS]...

Create a new organization.

Terminal window
avr org create [OPTIONS] NAME
Terminal window
JSON FIELDS
name, organization_id, role, slug

Arguments

  • NAME

Options

  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Manage email domains for automatic org membership.

Terminal window
avr org email-domain [OPTIONS] COMMAND [ARGS]...

List email domains for automatic org membership (admin only).

Terminal window
avr org email-domain list [OPTIONS]
Terminal window
JSON FIELDS
created_at, domain, organization_email_domain_id

Options

  • --org <TEXT> — Organization ID. Uses default org if not specified (see: avr config set org).
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Set email domains for automatic org membership (admin only).

Terminal window
avr org email-domain set [OPTIONS] DOMAINS...

Replaces all existing domains — a typo wipes the org's auto-membership policy. Confirms before applying; pass --yes to skip the prompt (required when stdout isn't a TTY, e.g. in CI).

Terminal window
Examples:
avr org email-domain set example.com
avr org email-domain set example.com corp.example.com --yes

Arguments

  • DOMAINS...

Options

  • --org <TEXT> — Organization ID. Uses default org if not specified (see: avr config set org).
  • --yes, -y — Skip confirmation prompt.

Manage GitHub App installations.

Terminal window
avr org install [OPTIONS] COMMAND [ARGS]...

Start the GitHub App installation flow.

Terminal window
avr org install add [OPTIONS]

Options

  • --org <TEXT> — Organization ID. Uses default org if not specified (see: avr config set org).
  • --no-browser — Do not open browser automatically.
  • --wait-seconds <INTEGER> — Seconds to wait for detection. (default: 120)

List accessible installations across all your organizations.

Terminal window
avr org install list [OPTIONS]
Terminal window
JSON FIELDS
created_at, external_installation_id, installation_id, organization_name,
organization_slug, state, target_name

Options

  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Remove/suspend a GitHub installation.

Terminal window
avr org install remove [OPTIONS]

Confirms before suspending; pass --yes to skip the prompt (required when stdout isn't a TTY, e.g. in CI).

Options

  • --org <TEXT> — Organization ID. Uses default org if not specified (see: avr config set org).
  • --installation-id <TEXT> — Installation ID to remove (ins-xxx format) (required)
  • --yes, -y — Skip confirmation prompt.

List organizations you belong to.

Terminal window
avr org list [OPTIONS]
Terminal window
Examples:
avr org list
avr org list --json slug,role
avr org list --json '*' -q '.[] | select(.role == "admin")'
Terminal window
JSON FIELDS
name, organization_id, role, slug

Options

  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

List organization members (admin only).

Terminal window
avr org members [OPTIONS]
Terminal window
Examples:
avr org members
avr org members --org org-abc123
avr org members --json name,role
Terminal window
JSON FIELDS
joined_at, name, role, user_id

Options

  • --org <TEXT> — Organization ID. Uses default org if not specified (see: avr config set org).
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.