kusion mod add
Add a module from a workspace
kusion mod add MODULE_NAME [--workspace WORKSPACE] [flags]
Examplesโ
# Add a kusion module to the kcl.mod from the current workspace to use it in AppConfiguration
kusion mod add my-module
# Add a module to the kcl.mod from a specified workspace to use it in AppConfiguration
kusion mod add my-module --workspace=dev
Optionsโ
--backend string The backend to use, supports 'local', 'oss' and 's3'.
-h, --help help for add
-w, --workdir string The work directory to run Kusion CLI.
--workspace string The name of target workspace to operate in.
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