mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
24 lines
486 B
Go
24 lines
486 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var notes_showCmd = &cobra.Command{
|
|
Use: "show",
|
|
Short: "Show the notes for a given object",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(notes_showCmd).Standalone()
|
|
|
|
notesCmd.AddCommand(notes_showCmd)
|
|
|
|
carapace.Gen(notes_showCmd).PositionalCompletion(
|
|
git.ActionRefs(git.RefOption{}.Default()),
|
|
)
|
|
}
|