feat(composer): add cs alias for composer show (#10034)

Closes #10034
This commit is contained in:
mikey dubs 2021-07-09 01:12:56 -07:00 committed by Marc Cornellà
parent fcd7da3aec
commit cbd8481fe3
No known key found for this signature in database
GPG Key ID: 0314585E776A9C1B
2 changed files with 2 additions and 0 deletions

View File

@ -29,5 +29,6 @@ Original author: Daniel Gomes <me@danielcsgomes.com>
| `cod` | `composer outdated --direct` | Shows a list of installed packages with available updates which are direct dependencies | | `cod` | `composer outdated --direct` | Shows a list of installed packages with available updates which are direct dependencies |
| `cr` | `composer require` | Adds new packages to `composer.json` | | `cr` | `composer require` | Adds new packages to `composer.json` |
| `crm` | `composer remove` | Removes packages from `composer.json` | | `crm` | `composer remove` | Removes packages from `composer.json` |
| `cs` | `composer show` | Lists available packages, with optional filtering |
| `csu` | `composer self-update` | Updates composer to the latest version | | `csu` | `composer self-update` | Updates composer to the latest version |
| `cu` | `composer update` | Updates composer dependencies and `composer.lock` file | | `cu` | `composer update` | Updates composer dependencies and `composer.lock` file |

View File

@ -45,6 +45,7 @@ alias co='composer outdated'
alias cod='composer outdated --direct' alias cod='composer outdated --direct'
alias cr='composer require' alias cr='composer require'
alias crm='composer remove' alias crm='composer remove'
alias cs='composer show'
alias csu='composer self-update' alias csu='composer self-update'
alias cu='composer update' alias cu='composer update'