Documentation
¶
Index ¶
- Variables
- func CheckAuth(cfg config.Config) bool
- func DetermineEditor(cf func() (config.Config, error)) (string, error)
- func DisableAuthCheck(cmd *cobra.Command)
- func EnableRepoOverride(cmd *cobra.Command, f *Factory)
- func IsAuthCheckEnabled(cmd *cobra.Command) bool
- func MinimumArgs(n int, msg string) cobra.PositionalArgs
- func NoArgsQuoteReminder(cmd *cobra.Command, args []string) error
- type Factory
- type FlagError
Constants ¶
This section is empty.
Variables ¶
View Source
var SilentError = errors.New("SilentError")
SilentError is an error that triggers exit code 1 without any error messaging
Functions ¶
func DetermineEditor ¶ added in v0.12.0
TODO: consider passing via Factory TODO: support per-hostname settings
func DisableAuthCheck ¶ added in v0.12.0
func EnableRepoOverride ¶ added in v0.12.0
func IsAuthCheckEnabled ¶ added in v0.12.0
func MinimumArgs ¶ added in v1.2.1
func MinimumArgs(n int, msg string) cobra.PositionalArgs
Types ¶
Click to show internal directories.
Click to hide internal directories.