[Freeipa-devel] [PATCH] add --all option to more commands

Jason Gerard DeRose jderose at redhat.com
Thu Feb 19 16:26:45 UTC 2009


On Thu, 2009-02-19 at 10:06 -0500, Rob Crittenden wrote:
> Jason Gerard DeRose wrote:
> > On Wed, 2009-02-18 at 16:50 -0500, Rob Crittenden wrote:
> >> Add the --all option to show/find in group, host and service. Normally 
> >> we want to limit the attributes returned to the things that are 
> >> interesting. --all returns the whole entry, warts and all.
> >>
> >> rob
> > 
> > ack.
> > 
> > I was thinking of adding the --all option into the new crud Retrieve and
> > Search base classes.  What do you think about that?
> 
> Sounds good. How will that affect a plugin writer providing additional 
> options?

The new crud base classes all merge in the params from takes_args and
takes_options, so stuff should work as they would expect (see
Update.get_options() for example).

This is also an easy way for us to enforce consistent options and
behavior for user-show, user-find, and friends.

> rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090219/53622a6f/attachment.sig>


More information about the Freeipa-devel mailing list