Documentation
¶
Index ¶
- func IntRangeVarP(cmd *cobra.Command, p *int, name, shorthand string, defaultValue int, ...)
- func NewEditCmd(globalOpts *GlobalOptions) *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, ...)
- type GlobalOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntRangeVarP ¶ added in v0.5.0
func NewEditCmd ¶ added in v0.3.0
func NewEditCmd(globalOpts *GlobalOptions) *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
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
Console *console.Console
Log io.Writer
Repo repository.Repository
Verbose bool
}
Click to show internal directories.
Click to hide internal directories.