mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
24 lines
510 B
Go
24 lines
510 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var bisect_badCmd = &cobra.Command{
|
|
Use: "bad",
|
|
Aliases: []string{"new"},
|
|
Short: "mark a known-bad revision",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(bisect_badCmd).Standalone()
|
|
bisectCmd.AddCommand(bisect_badCmd)
|
|
|
|
carapace.Gen(bisect_badCmd).PositionalCompletion(
|
|
git.ActionRefs(git.RefOption{}.Default()),
|
|
)
|
|
}
|