yari
yari copied to clipboard
chore(tool): add "remove" alias to "tool delete"
Summary
This PR adds a remove
(and rm
) alias to the yarn tool delete
command.
Problem
I often accidentally type yarn content remove ...
when attempting to remove and redirect a page in MDN content. This is because remove
is the more common phrase used in development.
Solution
The solution is simple: to alias the delete
command. This will allow the use of remove
(or rm
), without impacting the workflow of existing users.
How did you test this change?
Just ran yarn tool remove
and yarn tool rm
and made sure it outputs the same message as yarn tool delete
.