[ovs-dev] hackathon idea list

Flavio Leitner fbl at redhat.com
Wed Mar 26 14:47:26 UTC 2014


On Wed, Mar 26, 2014 at 07:25:34AM -0700, Alex Wang wrote:
> Thanks Flavio,
> 
> In fact, I have learned a lot from your post about how to write compgen
> functions. ;D

Same here, it was my first attempt to write bash completion scripts. :)

 
> Will keep using your script as reference ~
> 
> I'm thinking of writing a script that parses the manpage and generates the
> script of compgen functions.
> 
> I have some initial implementation here for appctl
> https://github.com/yew011/ovs_command_comp

That would be even better. I will take a look.
Flavio

> Alex Wang,
> 
> 
> On Wed, Mar 26, 2014 at 5:22 AM, Flavio Leitner <fbl at redhat.com> wrote:
> 
> > On Tue, Mar 25, 2014 at 10:11:23PM -0700, Ben Pfaff wrote:
> > > Bash Command Completion
> > > -----------------------
> > >
> > > ovs-vsctl and other programs would be easier to use if bash command
> > > completion (with ``tab'', etc.) were supported. Alex Wang
> > > <alexw at nicira.com> is planning to lead a team for this project.
> >
> > Feel free to use my bash completion script as you want:
> > http://people.redhat.com/~fleitner/ovs-vsctl/ovs-vsctl.sh
> >
> > That was my first round, so it needs work to clean up, etc..
> >
> > fbl
> >



More information about the dev mailing list