This repository was archived by the owner on May 24, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,32 @@ This project acts as a command line tool for operating one or multiple Gitea ins
4
4
the Gitea API implementation.
5
5
6
6
## Installation
7
-
7
+ Currently no prebuilt binaries are provided.
8
+ To install, a Go installation is needed.
9
+ ``` sh
10
+ go install code.gitea.io/tea
8
11
```
9
- go get github.com/go-gitea/tea
10
- go install github.com/go-gitea/tea
12
+
13
+ If the ` tea ` executable is not found, you might need to set up your ` $GOPATH ` and ` $PATH ` variables first:
14
+ ``` sh
15
+ export PATH=$PATH :$GOROOT /bin:$GOPATH /bin
11
16
```
12
17
13
18
## Usage
14
-
15
- First of all, you have to create a token on your personal settings -> application.
16
-
17
- ```
18
- git clone [email protected] :gitea/gitea.git
19
- cd gitea
19
+ First of all, you have to create a token on your ` personal settings -> application ` page of your gitea instance.
20
+ Use this token to login with ` tea ` :
21
+ ``` sh
20
22
tea login add --name=try --url=https://try.gitea.io --token=xxxxxx
23
+ ```
24
+
25
+ Now you can use the ` tea ` commands:
26
+ ``` sh
21
27
tea issues
22
28
tea releases
23
29
```
24
30
31
+ > If you are inside a git repository hosted on a gitea instance, you don't need to specify the ` --login ` and ` --repo ` flags!
32
+
25
33
## Contributing
26
34
27
35
Fork -> Patch -> Push -> Pull Request
You can’t perform that action at this time.
0 commit comments