apollographql / rover

The CLI for Apollo GraphOS
https://rover.apollo.dev
Other
409 stars 85 forks source link

Add a `--force-update` flag that is the inverse of `--skip-update` #1508

Open EverlastingBugstopper opened 1 year ago

EverlastingBugstopper commented 1 year ago

Create a new clap::ArgGroup that includes --force-update and --skip-update. --skip-update continues to do exactly that, skip the update check, while --force-update will not skip the update check no matter what (even if the versions were already checked that day).

--skip-update and --force-update should not be allowed at the same time.

andy-root commented 1 year ago

This would be perfect for my issue, https://github.com/apollographql/rover/issues/1532