mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
664 B
Plaintext
38 lines
664 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# tea
|
|
|
|
> 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`
|