admin@glassfish.java.net

Re: Command output proposal

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Fri, 10 Sep 2010 08:58:37 -0500

  Joe,
I added support for a long option to the alternative.
Tom


On 9/9/2010 5:22 PM, Joe Di Pol wrote:
>
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>