Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
fd786291
Commit
fd786291
authored
May 11, 2020
by
Marc Cornellà
Browse files
composer: fix documented aliases
parent
2ecf2846
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/composer/README.md
View file @
fd786291
...
@@ -13,7 +13,7 @@ plugins=(... composer)
...
@@ -13,7 +13,7 @@ plugins=(... composer)
## Aliases
## Aliases
| Alias | Command | Description |
| Alias | Command | Description |
| ------ | -------------------------------------------
---
| -------------------------------------------------------------------------------------- |
| ------ | ------------------------------------------- | --------------------------------------------------------------------------------------
-
|
|
`c`
|
`composer`
| Starts composer |
|
`c`
|
`composer`
| Starts composer |
|
`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 |
...
@@ -22,8 +22,10 @@ plugins=(... composer)
...
@@ -22,8 +22,10 @@ plugins=(... composer)
|
`ci`
|
`composer install`
| Resolves and installs dependencies from
`composer.json`
|
|
`ci`
|
`composer install`
| Resolves and installs dependencies from
`composer.json`
|
|
`ccp`
|
`composer create-project`
| Create new project from an existing package |
|
`ccp`
|
`composer create-project`
| Create new project from an existing package |
|
`cdu`
|
`composer dump-autoload`
| Updates the autoloader |
|
`cdu`
|
`composer dump-autoload`
| Updates the autoloader |
|
`cdo`
|
`composer dump-autoload -
-optimize-autoloader`
| Converts PSR-0/4 autoloading to classmap for a faster autoloader (good for production) |
|
`cdo`
|
`composer dump-autoload -
o`
| Converts PSR-0/4 autoloading to classmap for a faster autoloader (good for production)
|
|
`cgu`
|
`composer global update`
| Allows update command to run on COMPOSER_HOME directory |
|
`cgu`
|
`composer global update`
| Allows update command to run on COMPOSER_HOME directory |
|
`cgr`
|
`composer global require`
| Allows require command to run on COMPOSER_HOME directory |
|
`cgr`
|
`composer global require`
| Allows require command to run on COMPOSER_HOME directory |
|
`cgrm`
|
`composer global remove`
| Allows remove command to run on COMPOSER_HOME directory |
|
`cgrm`
|
`composer global remove`
| Allows remove command to run on COMPOSER_HOME directory |
|
`cget`
|
`curl -s https://getcomposer.org/installer`
| Installs composer in the current directory |
|
`cget`
|
`curl -s https://getcomposer.org/installer`
| Installs composer in the current directory |
|
`co`
|
`composer outdated`
| Shows a list of installed packages with available updates |
|
`cod`
|
`composer outdated --direct`
| Shows a list of installed packages with available updates which are direct dependencies |
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment