1
0
Fork 0

Merge pull request #2531 from cordoval/1762-document-archive

[Docu | WCM] add documentation entry for archive command on 03-cli.md
pull/2189/head^2
Jordi Boggiano 2013-12-27 04:48:40 -08:00
commit 09602bbf00
1 changed files with 14 additions and 0 deletions

View File

@ -404,6 +404,20 @@ problems.
$ php composer.phar diagnose $ php composer.phar diagnose
## archive
This command is used to generate a zip/tar archive for a given package in a
given version. It can also be used to archive your entire project without
excluded/ignored files.
$ php composer.phar archive vendor/package 2.0.21 --format=zip
### Options
* **--format (-f):** Format of the resulting archive: tar or zip (default:
"tar")
* **--dir:** Write the archive to this directory (default: ".")
## help ## help
To get more information about a certain command, just use `help`. To get more information about a certain command, just use `help`.