Skip to main content

Init

CLI initialization is a prerequisite for all other CLI operations. It performs several internal setup steps including gathering registry credentials, configures the required minimal CLI configuration and directory structure.

Usage

Usage: witboost-infra init [options]

Initializes CLI setup by setting up required minimal CLI configuration and directory structure

Options:
--registry-username <string> Private Helm registry username
--registry-password <string> Private Helm registry password
-h, --help display help for command

Example

./witboost-infra init --registry-username git-username --registry-password your-password

Output

  • Creates .witboost-infra directory with configuration files in the user's home directory
  • Fetches and caches default Witboost configuration files
  • Updates config.yaml with latest version.
  • Stores registry credentials in tool-config.yaml
note

Private Helm registry username and password refers to GitLab credentials with access to Witboost Helm and package registries. Reach out to the Witboost Team to get them.