Skip to content

Commit 7caf26d

Browse files
authored
CLOUDP-298859 Clean up old cli-generator (#3612)
1 parent 64f2e7c commit 7caf26d

19 files changed

+6
-1773
lines changed

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,7 @@ addcopy: ## Add missing license to files
103103
@scripts/add-copy.sh
104104

105105
.PHONY: generate
106-
generate: gen-docs gen-mocks gen-code gen-api-commands ## Generate docs, mocks, code, api commands, all auto generated assets
107-
108-
.PHONY: gen-code
109-
gen-code: ## Generate code
110-
@echo "==> Generating code"
111-
go run ./tools/cli-generator
106+
generate: gen-docs gen-mocks gen-api-commands ## Generate docs, mocks, code, api commands, all auto generated assets
112107

113108
bin/api-generator:
114109
go build -o ./bin/api-generator ./tools/api-generator

go.mod

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ require (
7070
sigs.k8s.io/yaml v1.4.0
7171
)
7272

73-
require (
74-
github.com/dprotaso/go-yit v0.0.0-20191028211022-135eb7262960 // indirect
75-
github.com/oasdiff/yaml v0.0.0-20241210131133-6b86fb107d80 // indirect
76-
github.com/oasdiff/yaml3 v0.0.0-20241210130736-a94c01f36349 // indirect
77-
github.com/speakeasy-api/jsonpath v0.6.0 // indirect
78-
github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect
79-
)
80-
8173
require (
8274
cloud.google.com/go v0.116.0 // indirect
8375
cloud.google.com/go/auth v0.14.0 // indirect
@@ -110,6 +102,7 @@ require (
110102
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
111103
github.com/cloudflare/circl v1.3.7 // indirect
112104
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
105+
github.com/dprotaso/go-yit v0.0.0-20191028211022-135eb7262960 // indirect
113106
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
114107
github.com/ebitengine/purego v0.8.2 // indirect
115108
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
@@ -161,6 +154,8 @@ require (
161154
github.com/montanaflynn/stats v0.7.1 // indirect
162155
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
163156
github.com/nwaples/rardecode/v2 v2.0.0-beta.4.0.20241112120701-034e449c6e78 // indirect
157+
github.com/oasdiff/yaml v0.0.0-20241210131133-6b86fb107d80 // indirect
158+
github.com/oasdiff/yaml3 v0.0.0-20241210130736-a94c01f36349 // indirect
164159
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
165160
github.com/perimeterx/marshmallow v1.1.5 // indirect
166161
github.com/pierrec/lz4/v4 v4.1.21 // indirect
@@ -171,12 +166,14 @@ require (
171166
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
172167
github.com/sorairolake/lzip-go v0.3.5 // indirect
173168
github.com/sourcegraph/conc v0.3.0 // indirect
169+
github.com/speakeasy-api/jsonpath v0.6.0 // indirect
174170
github.com/spf13/cast v1.6.0 // indirect
175171
github.com/subosito/gotenv v1.6.0 // indirect
176172
github.com/therootcompany/xz v1.0.1 // indirect
177173
github.com/tklauser/go-sysconf v0.3.12 // indirect
178174
github.com/tklauser/numcpus v0.6.1 // indirect
179175
github.com/ulikunitz/xz v0.5.12 // indirect
176+
github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect
180177
github.com/x448/float16 v0.8.4 // indirect
181178
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
182179
github.com/xdg-go/scram v1.1.2 // indirect

tools/cli-generator/README.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

tools/cli-generator/generate.go

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)