Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "generate", Short: "Generate templated email html", Long: "Use this command to generate templated for specific or multiple layouts.", Args: cobra.NoArgs, Run: func(cmd *cobra.Command, args []string) { g := generate.NewGenerator( defaultStringValueOrNil(layoutDir), defaultStringValueOrNil(layout), defaultStringValueOrNil(destPath), defaultStringValueOrNil(destDir), defaultStringValueOrNil(argsPath), defaultStringValueOrNil(argsJSON), ) err := g.Generate() if err != nil { panic(err) } }, }
Command defines the generate command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.