Documentation ¶ Index ¶ Variables func Execute() type CreateOption type Resource Constants ¶ This section is empty. Variables ¶ View Source var CurrentVersion string View Source var TemplateFS embed.FS Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ type CreateOption ¶ type CreateOption struct { Name string Path string Type string Override bool } type Resource ¶ type Resource struct { Template *template.Template Path string Name string FileName string FullPath string } Source Files ¶ View all Source files create.go root.go Click to show internal directories. Click to hide internal directories.