Conversation
14c8a21 to
8bce7f3
Compare
|
I would love that. Always running in the same problem and would really like to have that additional shortcut. |
|
second this, a mitigation to RSI as well. |
|
I'm not sure about this. My brain tells me |
|
I think this is a great idea! I love using the shorthands. I also do not believe that the argument about u standing for uninstall to be a counter. Uninstall is a destructive action while the other shorthands are constructive actions. I understand one could argue that an update can change contracts but to me its not the same as a full on removal. So in that sense I am actually happy that uninstall does not come with a shorthand. |
|
Actually a regular thing I run into. Seems like a neat addition which wouldn't hurt to add :) |
Summary
Adds
uas a short alias for theupdatecommand, making it consistent withiforinstall.Motivation
npm iis the canonical short form fornpm install— the most commonly used npm command. However,npm updatelacks an equivalent single-character alias. The existingnpm upalias works, but feels inconsistent compared toi.Adding
umakes the CLI more ergonomic and intuitive:Changes
u: 'update'alias inlib/utils/cmd-list.js, grouped alongside the existingup: 'update'aliasNotes
uis not currently used by any other alias or command, so there is no conflicti,r,t,c,s,v,x)