[katello-devel] Bash completion file

Jason Rist jrist at redhat.com
Mon Dec 3 21:09:08 UTC 2012


On 12/03/2012 01:52 PM, Eric Helms wrote:
> While preparing for the Katello 1.2 release, and specifically looking
> over updating the bash completion script, I ran across this little guy
> http://furius.ca/optcomplete/ for doing auto-completions when using the
> optparser in Python.
> 
> I played around with trying to implement it, and while this worked for
> the options located here -
> https://github.com/Katello/katello/blob/master/cli/src/katello/client/cli/base.py#L105
> it did not appear to work for all other commands.  I attempted to figure
> out where to place the activation line, or better yet how and if we were
> adding these commands in a strategic location that would allow usage of
> this module but got a bit lost and never figured it out.  Sending this
> out to the list in case anyone with more knowledge wanted to take a gander.
> 
> -Eric
> 
> On 11/16/2012 02:10 PM, Miroslav Suchy wrote:
>> On 16.11.2012 17:14, Lukas Zapletal wrote:
>>> I hope Mirek will come up with something, the last time I checked this,
>>> all the options to generate this from our opt_parser were quite
>>> difficult to implement.
>>
>> Quite a lot time, lower priority... I would like to not give false hopes.
>>
>>> Maybe there is a way...
>>
>> Bachelor thesis?
>>
>> Mirek
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
> 
> 
> 
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
> 

I thought we already had completion. Tomas might know more...

-J

-- 
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist
github/identi.ca: knowncitizen




More information about the katello-devel mailing list