Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2308 - ota42y:feature/alias_command, r=hsbt
Add alias command 'i' for 'install' command # Description: In rubygems 2.x, the command that started with `i` was `install` command only. So we can install gem by following command like [npm](https://docs.npmjs.com/cli/install). `gem i bundler` But rubygems 3.x have `info` command. #2023 So this command doesn't work ```bash % gem i bundler ERROR: While executing gem ... (Gem::CommandLineError) Ambiguous command i matches [info, install] ``` The `i` command work well in 2.x and this command is very useful as we install lots of gem. So it would be nice to set an alias for this command. ______________ # Tasks: - [x] Describe the problem / feature - [x] Write tests - [x] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
- Loading branch information