carapace-bin/completers/git_completer/cmd/verify_commit_generated.go
2023-04-12 09:09:14 +02:00

21 lines
549 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var verify_commitCmd = &cobra.Command{
Use: "verify-commit",
Short: "Check the GPG signature of commits",
Run: func(cmd *cobra.Command, args []string) {},
GroupID: groups[group_interrogator].ID,
}
func init() {
carapace.Gen(verify_commitCmd).Standalone()
verify_commitCmd.Flags().Bool("raw", false, "print raw gpg status output")
verify_commitCmd.Flags().BoolP("verbose", "v", false, "print commit contents")
rootCmd.AddCommand(verify_commitCmd)
}