mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.95k stars 275 forks source link

Remove `lucky` after providing replacements #608

Open rgoldberg opened 4 weeks ago

rgoldberg commented 4 weeks ago

Remove lucky after providing better replacements.

It is non-deterministic. It complicates the UX. It should not be used.

The best ways to replace it are to:

If both the above are implemented. tab completion would try to complete installed app IDs when a number is typed where an app ID for an installed app would be appropriate (like for mas upgrade, but not for mas purchase), and to complete bundle IDs & to search the App Store like mas search (for commands like mas purchase) or search installed app names (for commands like mas uninstall).

Another possible associated change: tab completion could complete to bundle IDs instead of to app IDs.

In fact, bundle IDs should probably be preferred over app IDs, and we should output bundle IDs everywhere we output app IDs to facilitate everyone using bundle IDs instead of app IDs.