Skip to content

Commit

Permalink
Merge pull request #1960 from rsteube/git-imapsend
Browse files Browse the repository at this point in the history
git: imap-send
  • Loading branch information
rsteube authored Oct 31, 2023
2 parents ff09714 + 6431778 commit 8ec9f40
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/imapSend.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 imapSendCmd = &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(imapSendCmd).Standalone()

imapSendCmd.Flags().Bool("curl", false, "use libcurl to communicate with the IMAP server")
imapSendCmd.Flags().Bool("no-curl", false, "do not use libcurl to communicate with the IMAP server")
imapSendCmd.Flags().BoolP("quiet", "q", false, "be more quiet")
imapSendCmd.Flags().BoolP("verbose", "v", false, "be more verbose")
rootCmd.AddCommand(imapSendCmd)
}
21 changes: 0 additions & 21 deletions completers/git_completer/cmd/imap_send_generated.go

This file was deleted.

0 comments on commit 8ec9f40

Please sign in to comment.