coreos / updateservicectl

CoreUpdate Command Line Interface
https://coreos.com/products/coreupdate/
Apache License 2.0
48 stars 41 forks source link

Add bash/zsh completion #30

Open colegleason opened 10 years ago

colegleason commented 10 years ago

It would be awesome if we could tab-complete updatectl commands.

sym3tri commented 10 years ago

I would prefer to have that in fleetctl before updatectl, but yes would be nice.

jonboulle commented 10 years ago

Can you add this for fleetctl while you're at it, please? :-)

jzelinskie commented 9 years ago

A lot of cli applications use https://github.com/codegangsta/cli for flags and it basically gives you bash/zsh completion for free. It seems like adopting the library would be a pretty big restructure, though.

sym3tri commented 9 years ago

@jzelinskie we just moved away from that library

jzelinskie commented 9 years ago

@sym3tri is there an issue discussing the reasons why?

philips commented 9 years ago

@jzelinskie Subcommands were very annoying to implement with codegangsta/cli. If we were to move to something spf13/cobra seemed like the most reasonable.