Skip to main content
Version: v0.13 🚧

kusion-mod-add

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

Auto generated by spf13/cobra on 12-Jun-2024