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.
30 lines
568 B
30 lines
568 B
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/urfave/cli"
|
|
|
|
"git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/cmd"
|
|
)
|
|
|
|
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 = cli.Commands{
|
|
cmd.CmdMigrate,
|
|
cmd.CmdMigrateAll,
|
|
}
|
|
if err := app.Run(os.Args); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|
|
|