ee0ca068fc
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.2 to 2.25.3. - [Release notes](https://github.com/urfave/cli/releases) - [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/urfave/cli/compare/v2.25.2...v2.25.3) --- updated-dependencies: - dependency-name: github.com/urfave/cli/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
cmd/update-go-mod | ||
internal/cli | ||
.deps | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum |
README.md
update-go-mod
Only upgrade specific subset not all modules.
Install
Should use Go version >= 1.16
:
go install github.com/haunt98/update-go-mod/cmd/update-go-mod@latest
Usage
Create local file .deps
or use url depends on your use case:
# Default read from .deps
update-go-mod
# Read from URL
update-go-mod --deps-url "https://example.txt"
# Don't do anythin
update-go-mod --dry-run