Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCmd ¶
NewAddCmd creates a new command for added a skeleton repository to the kickoff config.
func NewCreateCmd ¶
NewCreateCmd creates a command for creating a local skeleton repository.
func NewListCmd ¶
NewListCmd creates a command for listing all configured skeleton repositories.
Types ¶
type AddOptions ¶
type AddOptions struct { cli.IOStreams Config func() (*kickoff.Config, error) ConfigPath string RepoName string RepoURL string Revision string }
AddOptions holds the options for the add command.
func (*AddOptions) Run ¶
func (o *AddOptions) Run() error
Run adds a skeleton repository to the kickoff config.
type CreateOptions ¶
type CreateOptions struct { cli.IOStreams Config func() (*kickoff.Config, error) ConfigPath string RepoName string RepoDir string SkeletonName string }
CreateOptions holds the options for the create command.
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
Run creates a new skeleton repository in the provided output directory and seeds it with a default skeleton.
type ListOptions ¶
ListOptions holds the options for the list command.
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
Run lists all configured skeleton repositories.
type RemoveOptions ¶
type RemoveOptions struct { cli.IOStreams Config func() (*kickoff.Config, error) ConfigPath string RepoName string }
RemoveOptions holds the options for the remove command.
func (*RemoveOptions) Run ¶
func (o *RemoveOptions) Run() error
Run removes a skeleton repository from the config.