Documentation
¶
Overview ¶
Package create implements the bcli create subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
RootPath *string `short:"r" help:"Directory to create the new project under" type:"path" completion:"<directory>"`
ProjectDirPrefix *string `short:"p" help:"Prefix to prepend to the generated project directory name"`
GitLocation *string `short:"g" help:"Git host and owner prefix for the generated module path"`
NoGoGetUpdate bool ` help:"Skip the 'go get -u ./...' post step"`
NoGoModTidy bool ` help:"Skip the 'go mod tidy' post step"`
NoGitInit bool ` help:"Skip the 'git init' post step"`
NoGitCommit bool ` help:"Skip the 'git commit' post step"`
Name string `` /* 130-byte string literal not displayed */
Description string `` /* 130-byte string literal not displayed */
}
Command creates a new starter CLI project.
func (*Command) AfterApply ¶
AfterApply applies command-specific flag overrides to the shared app config.
Click to show internal directories.
Click to hide internal directories.