Skip to content

Commit

Permalink
Merge pull request #1956 from rsteube/git-verifytag
Browse files Browse the repository at this point in the history
git: verify-tag
  • Loading branch information
rsteube authored Oct 31, 2023
2 parents 39fbb4d + 3abe08b commit a2d90ea
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
23 changes: 23 additions & 0 deletions completers/git_completer/cmd/verifyTag.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package cmd

import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)

var verifyTagCmd = &cobra.Command{
Use: "verify-tag",
Short: "Check the GPG signature of tags",
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
carapace.Gen(verifyTagCmd).Standalone()

verifyTagCmd.Flags().String("format", "", "format to use for the output")
verifyTagCmd.Flags().Bool("raw", false, "print raw gpg status output")
verifyTagCmd.Flags().BoolP("verbose", "v", false, "print tag contents")
rootCmd.AddCommand(verifyTagCmd)

// TODO positional completion
}
21 changes: 0 additions & 21 deletions completers/git_completer/cmd/verify_tag_generated.go

This file was deleted.

0 comments on commit a2d90ea

Please sign in to comment.