mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add --format json to search command (#9747)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
This commit is contained in:
parent
8f315551d4
commit
35210d99a9
2 changed files with 21 additions and 2 deletions
|
@ -359,6 +359,11 @@ You can also search for more than one term by passing multiple arguments.
|
|||
|
||||
* **--only-name (-N):** Search only in name.
|
||||
* **--type (-t):** Search for a specific package type.
|
||||
* **--format (-f):** Lets you pick between text (default) or json output format.
|
||||
Note that in the json, only the name and description keys are guaranteed to be
|
||||
present. The rest (`url`, `repository`, `downloads` and `favers`) are available
|
||||
for Packagist.org search results and other repositories may return more or less
|
||||
data.
|
||||
|
||||
## show
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue