[Yum-devel] Plugins can now modify and query Yum's command line
Menno Smits
menno-yum at freshfoo.com
Thu May 5 10:55:04 UTC 2005
Hi all,
I've just committed changes that allow plugins to add/modify Yum's
command line options. In order for this to work, Yum now uses the
optparse module instead of getopt. Any new options defined by plugins
even show up on the yum's help page (yum -h).
The attached example plugin provides simple "download only"
functionality, activated by a command line switch.
This ended up being a fairly big change so its likely that I've broken
something. Please report any regressions here and I'll fix them.
Regards,
Menno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: downloadonly.py
Type: application/x-python
Size: 479 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050505/8a8d0f2f/attachment.bin
More information about the Yum-devel
mailing list