divekit init

Initialize a new Divekit origin repository

Synopsis

Initialize a new Divekit origin repository in the current directory.

Creates the required .divekit directory structure and configuration files needed for managing distributions. This is typically the first command you run when setting up a new Divekit project.

Created Structure

  .divekit/
    distributions/           Distribution configurations
      <name>/
        config.json          Distribution settings

Optional Files

  • .divekit/variation.json
  • .divekit/individualization.json

Usage

divekit init [flags]

Examples

# Initialize with interactive prompts
divekit init

# Initialize with defaults (no prompts)
divekit init --non-interactive

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)