1
0
Fork 0

add alias `i` to the install command

pull/7464/head
refael iliaguyev 2018-07-11 20:21:09 +03:00
parent f24fcea35b
commit b63e2de819
2 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,7 @@ php composer.phar init
to a `composer` repository or a JSON string which similar to what the
[repositories](04-schema.md#repositories) key accepts.
## install
## install / i
The `install` command reads the `composer.json` file from the current
directory, resolves the dependencies, and installs them into `vendor`.

View File

@ -32,6 +32,7 @@ class InstallCommand extends BaseCommand
{
$this
->setName('install')
->setAliases(array('i'))
->setDescription('Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.')
->setDefinition(array(
new InputOption('prefer-source', null, InputOption::VALUE_NONE, 'Forces installation from package sources when possible, including VCS information.'),