cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntRangeVarP added in v0.5.0

func IntRangeVarP(cmd *cobra.Command, p *int, name, shorthand string, defaultValue int, min, max int, usage string)

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

func StdinStringVarP(cmd *cobra.Command, stdin io.Reader, p *string, name, shorthand, defaultValue, usage string)

func StringEnumVarP added in v0.5.0

func StringEnumVarP(cmd *cobra.Command, p *string, name, shorthand, defaultValue string, values []string, usage string)

Types

type GlobalOptions

type GlobalOptions struct {
	Console *console.Console
	Log     io.Writer

	Repo    repository.Repository
	Verbose bool
}

Jump to

Keyboard shortcuts

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