• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-mate / depbump / 20060278841

09 Dec 2025 10:25AM UTC coverage: 16.954% (+4.1%) from 12.889%
20060278841

push

github

yangyile1990
Consolidate CLI structure from nested subcommands to flags

BREAKING CHANGE: Command syntax changed from subcommands to flags
- Old: `depbump update D L`, `depbump bump E R`
- New: `depbump update -D -L`, `depbump bump -ER`

- Replace nested subcommands (direct/everyone/latest/recursive) with flags (-D/-E/-L/-R)
- Add -D flag to indicate direct dependencies (default)
- Add mustboolean.Conflict() to validate exclusive -D/-E and -E/-L flags
- Extract ForeachModule() to internal/utils to eliminate duplicate recursive logic
- Add Args: cobra.NoArgs to bump, update, module, sync, and root commands
- Update package comments in depbumpkitcmd, depbumpsubcmd, depbumpmodcmd, utils
- Update English/Chinese README documentation with new flags usage examples
- Upgrade gogit dependency with GetLatestTag() API adaptation

4 of 135 new or added lines in 8 files covered. (2.96%)

5 existing lines in 2 files now uncovered.

118 of 696 relevant lines covered (16.95%)

1.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

46.34
/internal/utils/utils.go


Build SHA Not Found

The commit SHA "b2dbf77d84fad04a575be05d87c29597db4fc376" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc