rubygems icon indicating copy to clipboard operation
rubygems copied to clipboard

add 'bundle outdated --without-group' flag

Open Niall47 opened this issue 1 year ago • 3 comments

I want to bundler to ignore certain groups when running bundle outdated I understand there's a --group flag which lets me specify a specific group but I want to exclude a group

The flag already exists with bundle list

So I can run bundle list --without-group test But I can't run bundle outdated --without-group test

Niall47 avatar Sep 20 '24 07:09 Niall47

Sounds good to me, would you like to implement this feature?

deivid-rodriguez avatar Sep 20 '24 10:09 deivid-rodriguez

I'll probably stick with using --without-group in this instance but worth noting there seem to be are a few different tags being used for groups across the cli commands

bundle install uses --with & --without bundle list uses --only-group & --without-group bundle outdated uses --group & --groups bundle fund uses --group and has alias -g bundle viz used --without and had alias -W

Niall47 avatar Sep 21 '24 17:09 Niall47

That's quite inconsistent! I agree with using --without-group here given there's already --group, but we could considering unifying everything in the future (use with, only, and without everywhere, and document that those options always refer to groups).

deivid-rodriguez avatar Sep 30 '24 06:09 deivid-rodriguez