CLI tool to execute a command on every go module in the tree
$ gomods --help
Usage of gomods:
-c command: command string execution with 'sh -c' prefix
-f force: continue execution even if dependencies failed
-go
go: execute with 'go' prefix
-s string
skip: comma separated list of paths to skip
-u unordered: execute without waiting for dependencies
-v verbose: detailed logs
-w without: without 'go mod' prefix
$ gomods download
$ gomods tidy
$ gomods list
$ gomods graph
$ gomods -w go generate ./...
$ gomods -w go test ./...
$ gomods -w cat go.mod
$ gomods -go generate ./...
$ gomods -go build ./...
$ gomods -go test ./...