A tool to migrate GitHub Repositories to Gitea including all issues
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.
 
 
 

31 lines
568 B

  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. "github.com/urfave/cli"
  6. "git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/cmd"
  7. )
  8. var (
  9. version = "0.0.0"
  10. build = "0"
  11. )
  12. func main() {
  13. app := cli.NewApp()
  14. app.Name = "gitea-github-migrator"
  15. app.Version = fmt.Sprintf("%s+%s", version, build)
  16. app.Usage = "GitHub to Gitea migrator for repositories"
  17. app.Description = `Migrate your GitHub repositories including issues to Gitea`
  18. app.Commands = cli.Commands{
  19. cmd.CmdMigrate,
  20. cmd.CmdMigrateAll,
  21. }
  22. if err := app.Run(os.Args); err != nil {
  23. panic(err)
  24. }
  25. }