package cmd import ( "github.com/rsteube/carapace" "github.com/spf13/cobra" ) var imap_sendCmd = &cobra.Command{ Use: "imap-send", Short: "Send a collection of patches from stdin to an IMAP folder", Run: func(cmd *cobra.Command, args []string) {}, GroupID: groups[group_interaction].ID, } func init() { carapace.Gen(imap_sendCmd).Standalone() imap_sendCmd.Flags().Bool("curl", false, "use libcurl to communicate with the IMAP server") imap_sendCmd.Flags().BoolP("quiet", "q", false, "be more quiet") imap_sendCmd.Flags().BoolP("verbose", "v", false, "be more verbose") rootCmd.AddCommand(imap_sendCmd) }