I don't know what is CLI will be yet, for now it will serve just as a sample boilerplate
bazel run //src:cli
This uses Bazel as its build tool. It's a go project, which relies on rules_go, gazelle and bzlmod.
Reference
go install github.com/bazelbuild/buildtools/buildifier@latest
go install github.com/bazelbuild/buildtools/buildozer@latest
Sample Usage
buildozer 'use_repo_remove @gazelle//:extensions.bzl go_deps com_github_spf13_cobra' //MODULE.bazel:all
For example, in order to add cobra, run:
make go-get DEP=github.com/spf13/cobra@latest