[Freeipa-devel] [PATCH] Auto-generate --all and --raw for commands, that return entries.

Pavel Zuna pzuna at redhat.com
Wed Feb 17 14:59:15 UTC 2010


This patch makes the Command base class generate --all and --raw parameters for 
every command, that has either an Entry or a ListOfEntries instance in its 
has_output.

It also modifies the default output_for_cli to take these options into account. 
I think its better if output_for_cli (instead of textui.print_entry) handles 
things like attribute labels and attribute order.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Auto-generate-all-and-raw-for-commands-that-return-e.patch
Type: application/mbox
Size: 14938 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100217/e0d0fa01/attachment.mbox>


More information about the Freeipa-devel mailing list