Add Changelog for v0.3.1 (#139) Add Changelog for v0.3.1 Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/139 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/140 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: John Olheiser <john.olheiser@gmail.com> |
4 years ago | |
---|---|---|
cmd | 4 years ago | |
modules | 4 years ago | |
vendor | 4 years ago | |
.changelog.yml | 5 years ago | |
.drone.yml | 4 years ago | |
.gitignore | 4 years ago | |
.revive.toml | 5 years ago | |
CHANGELOG.md | 4 years ago | |
CONTRIBUTING.md | 6 years ago | |
DCO | 6 years ago | |
LICENSE | 6 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
build.go | 4 years ago | |
go.mod | 4 years ago | |
go.sum | 4 years ago | |
main.go | 4 years ago |
README.md
T E A
The official CLI interface for gitea
Tea is a command line tool for interacting on one or more Gitea instances. It uses code.gitea.io/sdk and interacts with the Gitea API
Installation
You can use the prebuilt binaries from dl.gitea.io
To install from source, go 1.12 or newer is required:
go get code.gitea.io/tea
go install code.gitea.io/tea
Or if you have brew
installed, you can install tea
via:
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
brew install tea
Usage
First of all, you have to create a token on your personal settings -> application
page of your gitea instance.
Use this token to login with tea
:
tea login add --name=try --url=https://try.gitea.io --token=xxxxxx
Now you can use the following tea
subcommands.
Detailed usage information is available via tea <command> --help
.
login Log in to a Gitea server
logout Log out from a Gitea server
issues List, create and update issues
pulls List, checkout and clean pull requests
releases Create releases
repos Operate with repositories
labels Manage issue labels
times Operate on tracked times of a repositorys issues and pulls
open Open something of the repository on web browser
To fetch issues from different repos, use the --remote
flag (when inside a gitea repository directory) or --login
& --repo
flags.
Compilation
Make sure you have installed a current go version. To compile the sources yourself run the following:
git clone https://gitea.com/gitea/tea.git
cd tea
make
Contributing
Fork -> Patch -> Push -> Pull Request
make test
run testsuitemake vendor
when adding new dependencies- ... (for other development tasks, check the
Makefile
)
Authors
License
This project is under the MIT License. See the LICENSE file for the full license text.