ez projects / bdbashcompletion / news / we all love completion right ?
Using the amazing command line git client, I came to feel frustrated when I had to use scripts that don't provide arguments completion. It just feels wrong, now. And eZ Publish bin scripts are among those. And man, they do have arguments. Right ?
Well, I have spent a few hours working on a proof of concept for it. And it works quite correctly. Of course, there is LOTS of room for improvements. But the basics are here.
It comes with a global "ezp.php" executable. Once linked from your /usr/local/bin folder, you'll be able to get a list of commands: ezp cache, ezp clusterize... and you'll also get arguments completion for all of these.
I do have plans to improve it. It is not very efficient, it doesn't distinguish parameters with & without values... there is a lot to be done.
If you happen to be a linux guru (unlike me), and are experienced with this, I'll be happy to read your comments, and ideally, merge your pull requests :-)
The project will for now mostly live on github: http://github.com/bdunogier/ezbashcompletion. If for some odd reason you don't want to use git to give it a try, you can head to the project's download page and get the project's development tarballs.
Log in or create a user account to comment.
Comments