mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
21 lines
485 B
Go
21 lines
485 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var bisect_termsCmd = &cobra.Command{
|
|
Use: "terms",
|
|
Short: "show the terms used for old and new commits",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(bisect_termsCmd).Standalone()
|
|
bisectCmd.Flags().Bool("term-bad", false, "show term for bad/new")
|
|
bisectCmd.Flags().Bool("term-good", false, "show term for good/old")
|
|
|
|
bisectCmd.AddCommand(bisect_termsCmd)
|
|
}
|