divekit config origin set

Set a configuration value for a distribution

Synopsis

Set or update a configuration value in config.json.

Values are parsed as JSON when possible, otherwise stored as strings.

Usage

divekit config origin set [flags]

Examples

# Set target group ID
divekit config origin set -d ST2M4 --key groupId --value 123

# Set repository name pattern
divekit config origin set -d ST2M4 --key name --value "ST2-{{uuid}}"

# Change remote provider
divekit config origin set -d ST2M4 --key remote --value gitlab

Flags

-d, --distribution string   Distribution name
      --key string            Configuration key (prefix with remotes. to target remotes.json)
      --value string          Value to set (parsed as JSON when possible)

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)

Parent Command