You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
486 B
26 lines
486 B
package main |
|
|
|
import ( |
|
"fmt" |
|
"os" |
|
|
|
"github.com/sirupsen/logrus" |
|
"github.com/urfave/cli" |
|
) |
|
|
|
var ( |
|
version = "0.0.0" |
|
build = "0" |
|
) |
|
|
|
func main() { |
|
app := cli.NewApp() |
|
app.Name = "gitea-github-migrator" |
|
app.Version = fmt.Sprintf("%s+%s", version, build) |
|
app.Usage = "GitHub to Gitea migrator for repositories" |
|
app.Description = `Migrate your GitHub repositories including issues to Gitea` |
|
app.Commands = cmds |
|
if err := app.Run(os.Args); err != nil { |
|
logrus.Panic(err) |
|
} |
|
}
|
|
|