So this might be a general, what's better seperate commands or plugins
providing options to current commands.

 Internally at Red Hat someone mentioned that they didn't like the fact
that "yum search foo" provided much more output than "apt-cache search
foo". This seemed like a simple thing to fix in a plugin, so I hacked
one up[1] code at:

http://people.redhat.com/jantill/yum/list-search.py

 Usage: "yum search --list foo"

...of course Seth also had the skeleton of one lying around, code at:

http://linux.duke.edu/~skvidal/useful-scripts/simple-search.py

 Usage: simple-search.py foo

...on the one hand I can see the desire to not clutter the yum command
with 999 different options from plugins, and on the other it seems like
most people would be much more likely to find "yum search --list" (if
the plugin was installed).
 So are there any general rules for which way is better? Should I create
the yum-list-search plugin patch for yum-utils?

 Comments?

[1] This took me like 5 minutes, so no fair commenting on the hackiness
factor ;).

-- 
James Antill <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to