Skip to content

Add a command alias for install command #7886

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

Closed
Zheaoli opened this issue Mar 23, 2020 · 2 comments
Closed

Add a command alias for install command #7886

Zheaoli opened this issue Mar 23, 2020 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@Zheaoli
Copy link

Zheaoli commented Mar 23, 2020

image

Many people will get a typo when using the pip install command such as pip isntall. so npm use a command alias to help people use the package manager correctly.

So is there any chance to add an alias? I can make a PR for this

@ghost ghost added the S: needs triage Issues/PRs that need to be triaged label Mar 23, 2020
@McSinyx
Copy link
Contributor

McSinyx commented Mar 23, 2020

This has already been worked on in GH-4193 and rejected because actions performed by pip could not be easily undone. I'm not so sure about the current state of pip however.

BTW if alias is the goal, is there and issue with shell alias? Edit: apparently it wouldn't be possible for most shells, unless a function is to be defined. However, I see no reason that pip cannot have just suggestion (but auto-correction) if mistyped subcommands. The hug is also an option for you though @Zheaoli.

@pradyunsg
Copy link
Member

pradyunsg commented May 25, 2020

Bundling this with #8130 and closing this issue for keeping one tracking issue for all kinds of alias requests.

Thanks for filing this issue @Zheaoli! ^>^

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 24, 2020
@ghost ghost removed the S: needs triage Issues/PRs that need to be triaged label Jun 24, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants