mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
20 lines
495 B
Go
20 lines
495 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var check_mailmapCmd = &cobra.Command{
|
|
Use: "check-mailmap",
|
|
Short: "Show canonical names and email addresses of contacts",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_low_level_helper].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(check_mailmapCmd).Standalone()
|
|
check_mailmapCmd.Flags().Bool("stdin", false, "also read contacts from stdin")
|
|
rootCmd.AddCommand(check_mailmapCmd)
|
|
}
|