[Yum-devel] [PATCH]: allow plugins to add new commands to the cli

Bastiaan Bakker bastiaan.bakker at enovation.nl
Tue Sep 12 21:29:07 UTC 2006


On Tuesday 12 September 2006 18:12, Tambet Ingo wrote:
> On Tue, 2006-09-12 at 17:44 +0200, Bastiaan Bakker wrote:
> > While trying to reimplemnt yum-builddep as a plugin I noticed that it's
> > not yet possible for a plugin to add new commands to the cli.
> > Attached is a patch against HEAD that enables plugins to register new
> > commands.
>
> I would suggest to look at how rum (and rug) do it, it's just a matter
> of dropping a file in a directory and it'll look like any other command,
> including basic help, command specific extra arguments etc.
>
> See http://www.snorp.net/files/rum/rum-1.0.0.tar.gz
>
> rum*cmds.py files.
>

Thanks for the suggestion, I'll have a look at it.

Bastiaan

> Tamet
>
>
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel



More information about the Yum-devel mailing list