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… |
|
mas has migrated from Commandant to Apple's Swift Argument Parser. The latter supports aliases. Will make a new PR. |
Closes #281.