campaigner/cmd/publish.go
2020-03-04 22:22:16 +01:00

29 lines
496 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
func JiraPublishCmd() *cobra.Command {
return &cobra.Command{
Use: "jira",
Short: "Publishes the campaign tickets in JIRA",
Args: cobra.NoArgs,
Run: jiraPublishCmdF,
}
}
func PublishCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "publish",
Short: "Publishes the campaign tickets in different providers",
}
cmd.AddCommand(
JiraPublishCmd(),
)
return cmd
}
func jiraPublishCmdF(_ *cobra.Command, _ []string) {}