CLEF is a Command Line Extension Finder. Well, actually is nothing more than a bunch of lines utilizing curl + pcre to parse the extension repository and send back the results.
With CLEF you can search, get information and download any of the extensions hosted in the official Yii repository (http://www.yiiframework.com/extensions).
- Yii (any version i suppose)
- PHP with mod_curl
Place the php file you'll find in the zip under protected/commands
Get the updated usage by calling: ~~~ [sh] yiic help clef ~~~
- 01/2/11: [new] Listings by category (v0.19)
- 31/1/11: [fix] Fixed regexp on list action to also match extensions with dashes (v0.18)
- 31/1/11: Initial upload (v0.17)
- Only the first page of results is parsed & returned.
- Not being a pcre expert, I have to warn you that this code may explode in your shell.
Bugs/Feature Requests ¶
Bugs & feature requests can be filed @ the github page.