Documentation ¶
Index ¶
- Constants
- func IntRangeVarP(cmd *cobra.Command, p *int, name, shorthand string, defaultValue int, ...)
- func NewEditCmd(globalOpts *GlobalOptions, runFunc func(*editOptions) error) *cobra.Command
- func NewListCmd(globalOpts *GlobalOptions) *cobra.Command
- func NewViewCmd(globalOpts *GlobalOptions) *cobra.Command
- func ProjectNumberArg(number *int) cobra.PositionalArgs
- func StdinStringVarP(cmd *cobra.Command, stdin io.Reader, p *string, ...)
- func StringEnumVarP(cmd *cobra.Command, p *string, name, shorthand, defaultValue string, ...)
- func StringToStringVarP(cmd *cobra.Command, p *map[string]string, name, shorthand string, ...)
- type GlobalOptions
Constants ¶
View Source
const (
DefaultWorkerCount int = 10
)
Variables ¶
This section is empty.
Functions ¶
func IntRangeVarP ¶ added in v0.5.0
func NewEditCmd ¶ added in v0.3.0
func NewEditCmd(globalOpts *GlobalOptions, runFunc func(*editOptions) error) *cobra.Command
func NewListCmd ¶
func NewListCmd(globalOpts *GlobalOptions) *cobra.Command
func NewViewCmd ¶
func NewViewCmd(globalOpts *GlobalOptions) *cobra.Command
func ProjectNumberArg ¶ added in v0.5.0
func ProjectNumberArg(number *int) cobra.PositionalArgs
func StdinStringVarP ¶ added in v0.4.0
func StringEnumVarP ¶ added in v0.5.0
Types ¶
type GlobalOptions ¶
type GlobalOptions struct { Console console.Console Log io.Writer Repo repository.Repository Verbose bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.