Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LintCommand ¶
func LintCommand(globalOpts *GlobalOptions) *cobra.Command
func StringEnumVarP ¶
func ViewCommand ¶ added in v0.3.0
func ViewCommand(globalOpts *GlobalOptions) *cobra.Command
Types ¶
type ColorOptions ¶ added in v0.2.0
type GlobalOptions ¶
type GlobalOptions struct {
Color ColorOptions
Console console.Console
Log *log.Logger
Repo repository.Repository
Verbose bool
// contains filtered or unexported fields
}
func (*GlobalOptions) EnsureRepository ¶
func (opts *GlobalOptions) EnsureRepository() (err error)
func (*GlobalOptions) IsAuthenticated ¶
func (opts *GlobalOptions) IsAuthenticated() error
func (*GlobalOptions) IsColorEnabled ¶ added in v0.3.0
func (opts *GlobalOptions) IsColorEnabled() bool
Click to show internal directories.
Click to hide internal directories.