Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
NewCmdCreate returns new initialized instance of 'create' sub command.
Types ¶
type CreateOptions ¶
type CreateOptions struct { GoVersion string TemplatePath string RootPackage string AppName string AppNameCamel string }
CreateOptions is an option struct to support 'create' sub command.
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
NewCreateOptions returns an initialized CreateOptions instance.
func (*CreateOptions) Complete ¶
func (o *CreateOptions) Complete(cmd *cobra.Command, args []string) error
Complete completes all the required options.
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run(args []string) error
Run executes a new sub command using the specified options.
Click to show internal directories.
Click to hide internal directories.