kusion mod pull
Pull kusion modules
Synopsis
The pull command downloads the kusion modules declared in the kcl.mod file.
kusion mod pull KCL_MOD_FILE_PATH [--host kusion-module-oci-registry --username username --password password]
Examples
# Pull the kusion modules declared in the kcl.mod file under current directory
kusion mod pull
# Pull the kusion modules declared in the kcl.mod file under specified directory
kusion mod pull /dir/to/kcl.mod
# Pull the kusion modules with private oci registry
kusion mod pull --host ghcr.io/kusion-module-registry --username username --password password
# Or users can also pull the kusion modules in private oci registry with environment variables
export KUSION_MODULE_REGISTRY_HOST=ghcr.io/kusion-module-registry
export KUSION_MODULE_REGISTRY_USERNAME=username
export KUSION_MODULE_REGISTRY_PASSWORD=password
kusion mod pull /dir/to/kcl.mod
Options
-h, --help help for pull
--host string The host of kusion module oci registry.
--password string The password of kusion module oci registry.
--username string The username of kusion module oci registry.
Options inherited from parent commands
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")
SEE ALSO
- kusion mod - Manage Kusion modules