oligot / go-mod-upgrade

Update outdated Go dependencies interactively
MIT License
954 stars 45 forks source link

Add feature to force update all modules in non-interactive mode. #11

Closed koykov closed 3 years ago

koykov commented 3 years ago

@oligot Your tool is amazing, but I need an extra feature to update all modules in my project without choosing them. So, I added new flag -f that forces update of the modules.

oligot commented 3 years ago

Hi,

This is a really great idea, thanks for your contribution.

oligot commented 3 years ago

Landed in version v0.5.0

We now use the module urfave/cli to parse the command line (instead of the built-in flag module). This comes with a lot of useful features, as explained in the manual.

go-mod-upgrade-v0 5 0

koykov commented 3 years ago

Wow! I see it supports bash completion. Thanks for notice! I'll use in in my projects too.