Skip to main content
Version: v0.13 🚧

kusion mod init

Create a kusion module along with common files and directories in the current directory

kusion mod init MODULE_NAME PATH [flags]

Examples

  # Create a kusion module template in the current directory
kusion mod init my-module

# Init a kusion module at the specified Path
kusion mod init my-module ./modules

# Init a module from a remote git template repository
kusion mod init my-module --template https://github.com/<user>/<repo>

Options

  -h, --help              help for init
--template string Initialize with specified template

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