cmd

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

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 NewCompletionCmd

func NewCompletionCmd(streams cli.IOStreams) *cobra.Command

func NewConfigCmd

func NewConfigCmd(streams cli.IOStreams) *cobra.Command

func NewGitignoreCmd

func NewGitignoreCmd(streams cli.IOStreams) *cobra.Command

func NewInitCmd

func NewInitCmd(streams cli.IOStreams) *cobra.Command

func NewLicenseCmd

func NewLicenseCmd(streams cli.IOStreams) *cobra.Command

func NewProjectCmd

func NewProjectCmd() *cobra.Command

func NewRepositoryCmd

func NewRepositoryCmd(streams cli.IOStreams) *cobra.Command

func NewRootCmd

func NewRootCmd(streams cli.IOStreams) *cobra.Command

func NewSkeletonCmd

func NewSkeletonCmd(streams cli.IOStreams) *cobra.Command

func NewVersionCmd

func NewVersionCmd(streams cli.IOStreams) *cobra.Command

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL