-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aliases #283
base: main
Are you sure you want to change the base?
Aliases #283
Conversation
Add `i` alias for `install` command. See mas-cli#281.
Add `ls` alias for `list` command. See mas-cli#281.
Add `remove` alias for `uninstall` command. See mas-cli#281.
Add `rm` alias for `uninstall` command. See mas-cli#281.
Add `update` alias for `brew upgrade mas`. See mas-cli#281.
I took a look at this and am worried about maintaining duplicate code. Unfortunately with Swift's structs` there's no inheritance, so need to look at other ways to reuse code. I started a change to Commandant for alias support Carthage/Commandant#155 |
@phatblat Yeah, this workaround is obviously very far from ideal.
Not a fan of inheritance anyway… But as @rgoldberg pointed out, there is now Swift Argument Parser available, so fully migrating to that would likely be best… |
Closes #281.