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

Rob Crittenden rcritten at redhat.com
Wed Feb 17 15:57:57 UTC 2010


Pavel Zuna wrote:
> 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

ack, pushed to master




More information about the Freeipa-devel mailing list