Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelpOptions ¶
type HelpOptions struct { Version bool `short:"v" long:"version" description:"show this tool version"` Verbose bool `short:"b" long:"verbose" description:"Show verbose debug information"` Cover bool `short:"c" long:"cover" description:"if the project path exists ,cover the directory and init the project"` Tool bool `` /* 134-byte string literal not displayed */ Empty bool `short:"e" long:"empty" description:"empty mean this project is a empty project or lib project"` Lib bool `short:"l" long:"lib" description:"same as --empty"` UseVendor bool `short:"n" long:"usevendor" description:"usevendor mean this project init whit vendor,default use go-modules"` NoKeep *bool `short:"k" long:"nokeep" description:"don't add .keep each dir"` Dirs string `short:"d" long:"dirs" description:"mkdir customer set,example: api,internal/configs,internal/model"` ModulesName string `short:"m" long:"modulename" description:"modulename use for go modules init file: go.mod,default use project name"` TargetPath *string `` /* 155-byte string literal not displayed */ Args struct { ProjectName []string `` /* 188-byte string literal not displayed */ } `positional-args:"yes" required:"yes"` }
Click to show internal directories.
Click to hide internal directories.