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

Attachment: 0001-Auto-generate-all-and-raw-for-commands-that-return-e.patch
Description: application/mbox

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to