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).
Place the php file you'll find in the zip under protected/commands
Get the updated usage by calling:
yiic help clef
Bugs & feature requests can be filed @ the github page.
Total 6 comments
@tydeas_dr: hey mate! i have some improvements in mind (looking up all pages of results, adding some sort of interactivity for paging) for some time now, but tbh i don't have any free time atm. In any case, i really don't like crawling & parsing data that can be changed at any time .. i hope Yii team could expose a JSON/XML represantation of the data.. this way would make more sense to develop a cli interface.
Regards
Hello there john...will you have any progress with your extension ? Do you think of implementing something more that what you have ? Greetings from Thessaloniki
Looks pretty cool !
@e6nian i added the file to hithub (https://github.com/zmf/CLEF). Hope is all ok, as i've never used it before.
would like you open this source via github.com making more people fork you
nice one! i hope Yii will have extensions package manager like ruby gems or similar in future
Leave a comment
Please login to leave your comment.