Open phatblat opened 5 years ago
Should mas install
be changed to automatically purchase free apps? Should a --purchase
switch be added to mas install
to support purchasing apps that aren't free? If so, mas purchase
would basically be an alias for mas install --purchase
.
Is your feature request related to a problem? Please describe. It is (barely) documented that
mas
is not able to install apps from the MAS that haven't been purchased. The README does call out that thelucky
command can't be used to purchase an app, but this isn't made clear that it also applies to theinstall
command.However, there is no messaging from the tool to this limitation. Additionally, the experience of attempting to install an app not yet purchased is confusing.
If the MAS app is not open, a lone dialog appears:
The
lucky
command behaves similarly.Describe the solution you'd like I would be ideal if one could purchase apps through
mas
- at least free ones. I can see a lot of potential issues with actually spending money throughmas
including Apple not being happy.Describe alternatives you've considered Short of actually completing a purchase,
mas
really should give the right message to the user to indicate that they need to go to the MAS app and purchase the app.I would like to see an error message like the following:
Perhaps, this could be followed with a suggestion to use the
open
command to deep link into the MAS app to complete the purchase.Additional context
Note that if the MAS app is already open, the error dialog appears as a sheet sliding in from the top (at least that's how it behaves on Mojave):