divekit config hosts

Manage authentication hosts (GitLab instances)

Synopsis

Manage authentication hosts for GitLab or other Git providers.

Hosts store connection details and authentication tokens for remote Git instances. Tokens are stored securely in the system keychain.

Subcommands

  list      List all configured hosts with their URLs and settings
  set       Add a new host or update an existing one
  rename    Rename an existing host entry
  rm        Remove a host and optionally its stored token

Usage

divekit config hosts [flags]

Examples

# List all configured hosts
divekit config hosts list

# Add a GitLab host with interactive token prompt
divekit config hosts set --name gitlab --url https://gitlab.com --ask-token

# Configure concurrency settings for a host
divekit config hosts set --name gitlab --max-workers 5 --rate-limit-delay-ms 100

# Rename a host
divekit config hosts rename --from oldname --to newname

# Remove a host and its token
divekit config hosts rm --name gitlab --remove-token

Inherited Flags

-l, --loglevel string   log level (debug, info, warn, error, fatal) (default "info")
      --no-index          skip project index update
      --non-interactive   run in non-interactive mode (fails if interactive input is required)
  -y, --yes               assume yes/default for all prompts (non-interactive with automatic defaults)

Available Subcommands

  • list — List all configured hosts
  • rename — Rename an existing host entry
  • rm — Remove a host configuration
  • set — Add or update a host configuration

Parent Command


divekit config hosts list

List all configured hosts

divekit config hosts rename

Rename an existing host entry

divekit config hosts rm

Remove a host configuration

divekit config hosts set

Add or update a host configuration