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 26-Sep-2024โ€‹