Created a command line tools that work with gitea/github api

https://github.com/J-Siu/go-mygit

Specifically support following functions from command line:

  • Configuration File
    • remotes
    • groups
    • secrets
  • Selector for git servers
    • -g/–group
    • -r/–remote
  • Base(git) Commands
    • clone
    • init
    • pull
    • push
    • remote
      • add
      • list
      • remove
  • Repository(api)
    • list all repo on server
    • create repo on server
    • get / set
      • archived
      • description
      • private
      • public key(GH, get only)
      • secret (GH only)
      • topic
      • visibility
    • delete
      • repository
      • secret (GH only)

The design is gear towards mass processing repositories, so most commands support multiple path.

Do you know we already have one gitea/tea: A command line tool to interact with Gitea servers - tea - Gitea: Git with a cup of tea

I know, but my project actually start years ago with bash to do mass repo processing. Just moved it to golang recently.

1 Like