Documentation ¶
Index ¶
- Variables
- func BumpCmd(bumpFunc bump.Func, pushTag vergo.PushTagFunc) *cobra.Command
- func CheckCmd(skipHintPresent release.SkipHintPresentFunc, ...) *cobra.Command
- func ExactValidArgs(n int) cobra.PositionalArgs
- func Execute() error
- func GetCmd(latest, previous RefFunc, current vergo.CurrentVersionFunc) *cobra.Command
- func ListCmd(listRefs ListRefs) *cobra.Command
- func OnlyValidArgsAndAliases(cmd *cobra.Command, args []string) error
- func PushCmd() *cobra.Command
- func RootCmd() *cobra.Command
- func ShowCmd() *cobra.Command
- func VersionCmd() *cobra.Command
- type ListRefs
- type RefFunc
- type RootFlags
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidArg = errors.New("invalid arg")
)
Functions ¶
func CheckCmd ¶
func CheckCmd( skipHintPresent release.SkipHintPresentFunc, validateHEAD release.ValidateHEADFunc, incrementHint release.IncrementHintFunc) *cobra.Command
func ExactValidArgs ¶
func ExactValidArgs(n int) cobra.PositionalArgs
func GetCmd ¶
func GetCmd(latest, previous RefFunc, current vergo.CurrentVersionFunc) *cobra.Command
func OnlyValidArgsAndAliases ¶
OnlyValidArgsAndAliases returns an error if any args are not in the list of ValidArgs.
func VersionCmd ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.