tldr/pages/common/tea.md

33 lines
594 B
Markdown
Raw Permalink Normal View History

2020-05-08 13:02:16 +01:00
# tea
> A command-line tool to interact with Gitea servers.
2020-05-08 13:02:16 +01:00
> 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`