Skip to content

Refactor: Use go tool instead of go install when executing internal CLI tools #5972

@koba1t

Description

@koba1t

About

During development, execute the internal CLI binary without installing it locally, but rather via go tool.
Specifically, consolidate the installation and execution of binaries run via makefiles, shell scripts, etc., into a single CLI call through go tool

This eliminates the need to install binaries via go install each time, and can potentially prevent issues like using outdated versions of tools installed in your computer's GOBIN.

Tools List

in repo tools

external tools

  • golangci-lint
  • mdrip
  • stringer
  • goimports
  • mdtogo
  • addlicense
  • kind
  • controller-gen
  • embedmd
  • go-bindata
  • go-apidiff
  • gh
  • kubeval

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions