homebrew-cask-upgrade
homebrew-cask-upgrade copied to clipboard
Add batched update option for interactive mode
This PR add support for batched update option for interactive mode.
To be specific, I add option b
for each interaction. And for each app answered with b
, I record it in a temporary list, then perform upgrade after all interactions are answered.
Fixes https://github.com/buo/homebrew-cask-upgrade/issues/182 (asks for the same feature enhancement)
Thank you for your contribution @XOR-op 🙂 I was just wondering, why you went this path? My idea was to not have yet another option but change slightly the way it works - you would add it to the batch when "y" was given and then do the upgrades. Do you think it makes sense? Could you make that change?
Thank you for your contribution @XOR-op 🙂 I was just wondering, why you went this path? My idea was to not have yet another option but change slightly the way it works - you would add it to the batch when "y" was given and then do the upgrades. Do you think it makes sense? Could you make that change?
You're right. However I have no experience in Ruby, so I'm not sure if I would break something in that manner. Also I've pushed a new commit to recover original flag.
Hey @XOR-op , I've come up with an alternative, where I first asks for the input and then execute it. Feel free to look into the solution or propose any changes (https://github.com/buo/homebrew-cask-upgrade/pull/224).
Closed in favour of #224