Skip to content
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

Add rm alias to composer remove command #11367

Merged
merged 2 commits into from Mar 10, 2023
Merged

Conversation

dmitryuk
Copy link
Contributor

@dmitryuk dmitryuk commented Mar 7, 2023

Inspired from #11163
As you know most deleting|removing commands have shortcut rm, for example, rm a.txt, npm rm --help.
So I think it will be great have the same keyboard shortcut here.
p.s. composer rem is not easy to remember

@cafferata
Copy link
Contributor

Would you like to change the anchor documentation link as well? 🙏

-Read more at https://getcomposer.org/doc/03-cli.md#remove
+Read more at https://getcomposer.org/doc/03-cli.md#remove-rm

https://github.com/composer/composer/blob/2.5.4/src/Composer/Command/RemoveCommand.php#L76

@dmitryuk
Copy link
Contributor Author

dmitryuk commented Mar 9, 2023

Would you like to change the anchor documentation link as well? pray

-Read more at https://getcomposer.org/doc/03-cli.md#remove
+Read more at https://getcomposer.org/doc/03-cli.md#remove-rm

https://github.com/composer/composer/blob/2.5.4/src/Composer/Command/RemoveCommand.php#L76

Thanks, done

@Seldaek Seldaek added this to the 2.6 milestone Mar 10, 2023
Copy link
Member

@Seldaek Seldaek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@Seldaek Seldaek merged commit d1ab125 into composer:main Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants