divekit doctor

Check the system for potential problems

Synopsis

Diagnose potential issues with your Divekit CLI setup and configuration.

Runs a series of checks to verify that Divekit is properly configured and all dependencies are available. Use this command to troubleshoot issues or verify your setup after installation.

Checks Performed

  • Configuration file validity
  • GitLab authentication and token validity
  • Distribution configuration integrity
  • Required system dependencies
  • Network connectivity to configured hosts

Usage

divekit doctor [flags]

Examples

# Run all checks and display results
divekit doctor

# Run checks with detailed output
divekit doctor --verbose

# Strict mode for CI/CD pipelines
divekit doctor --strict

Flags

--strict    Return non-zero exit code if any check fails
  -v, --verbose   Show additional details for successful checks

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)