mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
22 lines
628 B
Go
22 lines
628 B
Go
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)
|
|
}
|