Path

ez projects / bdbashcompletion / news / check out the bash completi...


Check out the bash completion screencast

I have worked a bit on adding a few core features I really wanted. This mostly was around arguments with values, as well as completion for these values.

These are now implemented:

  1. options that end up with = won't be added a space at the end;
  2. some options that expect values now offer completion for them. Try --siteaccess on any script, or ezp cache --clear-tag=

Overall, the extension has been refactored quite a bit, and it will be quite easy to add new features to it.

And to make it easier for anybody to see it in action, you can see a screencast of most features on youtube.

The next big task will be to externalize handling of "special" arguments. Ideally, I'd like to have a set of bash functions available for any script (siteaccess, url, template, .dba file...), and make it possible for scripts (built-in as well as included) to use these. Interesting, right ?

You can still download the extension from the download page, and checkout the code on github (use github if you encounter a bug and wanna report it. It would be appreciated).

Comments

Log in or create a user account to comment.

Article info

0 comments