Documentation
¶
Index ¶
- Variables
- func NewCompletionCmd(streams cli.IOStreams) *cobra.Command
- func NewConfigCmd(streams cli.IOStreams) *cobra.Command
- func NewGitignoreCmd(streams cli.IOStreams) *cobra.Command
- func NewInitCmd(streams cli.IOStreams) *cobra.Command
- func NewLicenseCmd(streams cli.IOStreams) *cobra.Command
- func NewProjectCmd() *cobra.Command
- func NewRepositoryCmd(streams cli.IOStreams) *cobra.Command
- func NewRootCmd(streams cli.IOStreams) *cobra.Command
- func NewSkeletonCmd(streams cli.IOStreams) *cobra.Command
- func NewVersionCmd(streams cli.IOStreams) *cobra.Command
- type InitOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrIllegalVersionFlagCombination is returned if mutual exclusive version // format flags are set. ErrIllegalVersionFlagCombination = errors.New("--short and --output can't be used together") )
Functions ¶
func NewProjectCmd ¶
Types ¶
type InitOptions ¶
type InitOptions struct {
cli.IOStreams
cmdutil.ConfigFlags
}
func (*InitOptions) Complete ¶
func (o *InitOptions) Complete() (err error)
func (*InitOptions) Run ¶
func (o *InitOptions) Run() error
type VersionOptions ¶
type VersionOptions struct {
cli.IOStreams
cmdutil.OutputFlags
Short bool
}
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
func (*VersionOptions) Validate ¶
func (o *VersionOptions) Validate() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.