1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 18:04:55 +02:00

tea: add page (#4023)

This commit is contained in:
Owen Voke 2020-05-08 13:02:16 +01:00 committed by GitHub
parent 23aa9a6a58
commit 503ba15ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
pages/common/tea.md Normal file
View file

@ -0,0 +1,32 @@
# tea
> A command line tool to interact with Gitea servers.
> More information: <https://gitea.com/gitea/tea>.
- Log into a Gitea server:
`tea login add --name "{{name}}" --url "{{url}}" --token "{{token}}"`
- Display all repositories:
`tea repos ls`
- Display a list of issues:
`tea issues ls`
- Display a list of issues for a specific repository:
`tea issues ls --repo "{{repository}}"`
- Create a new issue:
`tea issues create --title "{{title}}" --body "{{body}}"`
- Display a list of open pull requests:
`tea pulls ls`
- Open the current repository in a browser:
`tea open`