Skip to content

Commit a0d8f6d

Browse files
committed
fixed build
1 parent 6e956cd commit a0d8f6d

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.7
1+
VERSION=v0.0.1
22
OUT_DIR=dist
33

44
CLI_NAME?=cf
@@ -151,6 +151,7 @@ $(GOBIN)/mockery:
151151
@echo installing: mockery
152152
@curl -L -o dist/mockery.tar.gz -- https://github.com/vektra/mockery/releases/download/v1.1.1/mockery_1.1.1_$(shell uname -s)_$(shell uname -m).tar.gz
153153
@tar zxvf dist/mockery.tar.gz mockery
154+
@rm dist/mockery.tar.gz
154155
@chmod +x mockery
155156
@mkdir -p $(GOBIN)
156157
@mv mockery $(GOBIN)/mockery

cmd/commands/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import (
99
"github.com/spf13/viper"
1010
)
1111

12+
var die = util.Die
13+
1214
func NewRoot() *cobra.Command {
1315
s := store.Get()
1416

docs/commands/cli-v2.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## cli-v2
2+
3+
cli-v2 is used for installing and managing codefresh installations using gitops
4+
5+
### Synopsis
6+
7+
cli-v2 is used for installing and managing codefresh installations using gitops.
8+
9+
Most of the commands in this CLI require you to specify a personal access token
10+
for your git provider. This token is used to authenticate with your git provider
11+
when performing operations on the gitops repository, such as cloning it and
12+
pushing changes to it.
13+
14+
It is recommended that you export the $GIT_TOKEN and $GIT_REPO environment
15+
variables in advanced to simplify the use of those commands.
16+
17+
18+
```
19+
cli-v2 [flags]
20+
```
21+
22+
### Options
23+
24+
```
25+
-h, --help help for cli-v2
26+
```
27+
28+
### SEE ALSO
29+
30+
* [cli-v2 version](cli-v2_version.md) - Show cli version
31+

docs/commands/cli-v2_version.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## cli-v2 version
2+
3+
Show cli version
4+
5+
```
6+
cli-v2 version [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-h, --help help for version
13+
--long display full version information
14+
```
15+
16+
### SEE ALSO
17+
18+
* [cli-v2](cli-v2.md) - cli-v2 is used for installing and managing codefresh installations using gitops
19+

0 commit comments

Comments
 (0)