Tools/tea
< Tools
tea: Gitea command line tool
tea is a tool to interact with projects.blender.org.
Setup
Install tea. There are pre-built binaries available here. Or you can build it from source by following the build instructions.
Generate an access token:
- Go to user Setting > Applications.
- Type in any name (e.g.
tea) and clickGenerate Token. - TODO: inform about scopes. Some users might want to check
read:public_keyornotificationsto be able to use certain commands) - A banner will appear with
<your-token>, copy it for the next step (you don't need to save it).
Add a new login:
tea login add --name=blender --url=https://projects.blender.org/ --token=<your-token>Finally, you should see your login listed with your username from projects.blender.org:
tea loginsOptionally, you can set this login to be the default login with:
tea login default blenderUseful Commands
Checkout pull request #123.
tea pull checkout 123