Pass multiple app argument to brew reinstall#285
Conversation
b1215c8 to
33c8fb6
Compare
|
Hey @Mick235711 It seemed "stuck", then it went to the |
|
That's an interesting behavior. "Stuck" seems to be |
Yes, without MAS it seems to work 🤔 Should we preserve the same order that we have right now, Casks first and after MAS? And I'll check what's going on with my MAS 😅 |
|
Sure, I can switch the order such that casks are upgraded first. |
|
After I pulled the newest changes, getting this: Not sure if that's only me or others have the same issue as well. |
|
Hmm, not really sure what had happened, this PR does not touch the |
I think I figured it out and pushed change to your branch (hope that's ok 🙂 ). I'll merge once the CI passes. |
|
Yeah, that's fine. Thanks a lot for the helping hand! |

This PR tries to change the way
brew cucallsbrew reinstall, so that only one commandbrew reinstall app1 app2 ...is issued instead of calling reinstall for each app. This has multiple advantages:brewalready has parallel download support, this should also resolve [FR]Parallelization of downloads #160 with no extra efforts needed.Interactive mode is also supported, as the apps are already collected anyway. MAS apps are passed as a single command to
mas upgradetoo.The output is changed to "Update N apps", and the version for updated apps is printed if
-vis passed. The version format mirrors the vanillabrew upgradeformat.Screenshot:
