mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
20 lines
517 B
Go
20 lines
517 B
Go
package cmd
|
|
|
|
import (
|
|
"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) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
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)
|
|
}
|