mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-27 18:11:17 +00:00
19 lines
426 B
Go
19 lines
426 B
Go
package cmd
|
|
|
|
import (
|
|
"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) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
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)
|
|
}
|