Documentation
¶
Overview ¶
Package register provides the project register subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdProjectRegister ¶
func NewCmdProjectRegister(f *cmdutil.Factory, runF func(context.Context, *RegisterOptions) error) *cobra.Command
NewCmdProjectRegister creates the project register command.
Types ¶
type RegisterOptions ¶
type RegisterOptions struct {
IOStreams *iostreams.IOStreams
Prompter func() *prompterpkg.Prompter
Config func() (config.Config, error)
ProjectManager func() (project.ProjectManager, error)
Name string // Positional arg: project name
Yes bool
}
RegisterOptions contains the options for the project register command.
Click to show internal directories.
Click to hide internal directories.