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

**URL:** <https://forum.gitea.com/t/created-a-command-line-tools-that-work-with-gitea-github-api/5273>\
**Category:** Ecosystem\
**Created:** [May 26, 2022, 6:38pm UTC](https://forum.gitea.com/t/created-a-command-line-tools-that-work-with-gitea-github-api/5273 "2022-05-26T18:38:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J-Siu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/j-siu/32/2697_2.png) [@J-Siu](https://forum.gitea.com/u/J-Siu)\
**Post date:** [May 26, 2022, 6:38pm UTC](https://forum.gitea.com/t/created-a-command-line-tools-that-work-with-gitea-github-api/5273/1 "2022-05-26T18:38:52Z")

</div>

[https://github.com/J-Siu/go-mygit](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.

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [June 6, 2022, 7:14am UTC](https://forum.gitea.com/t/created-a-command-line-tools-that-work-with-gitea-github-api/5273/2 "2022-06-06T07:14:13Z")

</div>

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](https://gitea.com/gitea/tea.git)

---

<div class="post-metadata">

**Author:** ![J-Siu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/j-siu/32/2697_2.png) [@J-Siu](https://forum.gitea.com/u/J-Siu)\
**Post date:** [June 7, 2022, 4:19pm UTC](https://forum.gitea.com/t/created-a-command-line-tools-that-work-with-gitea-github-api/5273/3 "2022-06-07T16:19:24Z")

</div>

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