-
Notifications
You must be signed in to change notification settings - Fork 0
/
issues.go
29 lines (21 loc) · 839 Bytes
/
issues.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package main
import (
"context"
"flag"
"github.com/artur-sak13/gitmv/provider"
)
const issuesHelp = `Migrate all issues from one Git provider to another.`
func (cmd *issuesCommand) Name() string { return "issues" }
func (cmd *issuesCommand) Args() string { return "[OPTIONS]" }
func (cmd *issuesCommand) ShortHelp() string { return issuesHelp }
func (cmd *issuesCommand) LongHelp() string { return issuesHelp }
func (cmd *issuesCommand) Hidden() bool { return false }
func (cmd *issuesCommand) Register(fs *flag.FlagSet) {}
type issuesCommand struct{}
func (cmd *issuesCommand) Run(ctx context.Context, args []string) error {
return runCommand(ctx, cmd.handleIssues)
}
// handleIssues will return
func (cmd *issuesCommand) handleIssues(ctx context.Context, src, dest provider.GitProvider) error {
return nil
}