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 ¶
type CreateOptions struct { cli.IOStreams Repository func(...string) (kickoff.Repository, error) RepoName string SkeletonName string }
CreateOptions holds the options for the create command.
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
Run creates a new project skeleton in the provided output directory.
type ListOptions ¶
type ListOptions struct { cli.IOStreams Repository func(...string) (kickoff.Repository, error) Output string RepoNames []string }
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 Repository func(...string) (kickoff.Repository, error) FilePath string Output string RepoNames []string SkeletonName string }
ShowOptions holds options for the show command.
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.