Documentation
¶
Overview ¶
create.go
Package create defines the 'create' subcommand for the Kuma CLI. It handles generating project scaffolds based on Go templates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProjectPath defines the directory where the project will be created. ProjectPath string //VariablesFile specifies the path to the variables file. VariablesFile string //FromFile specifies the path to the YAML file with the structure and templates. FromFile string // TemplateVariables holds the variables for template replacement during the generate process. TemplateVariables map[string]interface{} )
View Source
var CreateCmd = &cobra.Command{ Use: "create", Short: "Create a scaffold for a project based on Go Templates", Run: func(cmd *cobra.Command, args []string) { Create() }, }
CreateCmd represents the 'create' subcommand.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.