Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
NewCreateCmd creates a command for creating project skeletons.
func NewListCmd ¶
NewListCmd creates a command for listing available project skeletons.
Types ¶
type CreateOptions ¶
CreateOptions holds the options for the create command.
func (*CreateOptions) Complete ¶
func (o *CreateOptions) Complete(args []string) (err error)
Complete completes the create options.
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
Run creates a new project skeleton in the provided output directory.
func (*CreateOptions) Validate ¶
func (o *CreateOptions) Validate() error
Validate validates the create options.
type ListOptions ¶
type ListOptions struct {
cli.IOStreams
cmdutil.ConfigFlags
cmdutil.TimeoutFlag
}
ListOptions holds the options for the list command.
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
Run lists all project skeletons available in the configured skeleton repositories.
type ShowOptions ¶
type ShowOptions struct {
cli.IOStreams
cmdutil.ConfigFlags
cmdutil.OutputFlag
cmdutil.TimeoutFlag
Skeleton string
}
ShowOptions holds options for the show command.
func (*ShowOptions) Complete ¶
func (o *ShowOptions) Complete(args []string) error
Complete completes the show options.
func (*ShowOptions) Run ¶
func (o *ShowOptions) Run() error
Run prints information about a project skeleton in the output format specified by the user.
Click to show internal directories.
Click to hide internal directories.