admin@glassfish.java.net

Re: Command output proposal

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Thu, 09 Sep 2010 15:22:20 -0700

Overall I like it.

But I don't like the fact that today I can run:

  list-instances --verbose

But tomorrow I must run

  list-instances -o name,host,port,cluster,state,uptime

I would be happier if I could run

  list-instances --long

Which is shorthand for some set of columns.

This would also let a command punt on the "-o" option if
they don't have time to do it right this release.

Joe



Tom Mueller wrote:
> Based on the discussion from Tuesday's admin iteam meeting, I've
> written up an alternate proposal for command output forms that doesn't
> use "--verbose". Please have a look here:
>
> http://wikis.sun.com/display/GlassFish/Asadmin+Command+Output+Guidelines
>
> The alternate is under the "Output Forms (Alternate A)" section. This is
> based on Solaris commands in ZFS, SMF, and IPS.
> I have an open issue on what to do with data items with spaces, as this
> make it impossible to use space as the column separator when parsing
> output.
>
> Thoughts? Votes?
> Thanks.
> Tom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>