[jboss-as7-dev] the cli status

Bruno Georges bgeorges at redhat.com
Mon Mar 7 04:10:58 EST 2011




On Mar 5, 2011, at 7:16, Alexey Loubyansky <alexey.loubyansky at redhat.com> wrote:

> On 03/04/2011 11:14 PM, Max Rydahl Andersen wrote:
>> 
>> On Mar 4, 2011, at 19:09, Alexey Loubyansky wrote:
>> 
>>> Yes, it's low level. But it had to pass this mark too ;)
>>> 
>>> About '/' for the commands, I did it on purpose actually. Because I expected operations to be much more popular than commands (at least in the current state of things). It would be more annoying to prefix operations with '/' to me. Perhaps, there could be command mode and an operation mode, or something else. I'll think about it.
>> 
>> I know you did it on purpose and for why ;)
>> 
>> Just saying that I don't think the lowest level operation access is what makes sense as the default in the long run.
> 
> True, but the absence of a better (or any) alternative makes the thing 
> that exists a good default candidate ;)
> 
> Ok, this point is clear and noted.
> 
>>> But the first line after the cli starts says 'type /help for...' ;)
>> 
>> Yes, but I also know that users doesn't read - they do what they are "used" to...
>> 
>> and typing "help" is what I would think majority of users would do....
> 
> Ok, makes sense.
> 
>> similar I assume this CLI could have operations like "status" to give info about the server(s); "list servergroups", "list domains" etc. that
>> does the grunt work of avoiding to know the detyped model and process/server layout upfront.
> 
> Yes, something like that. How exactly is still to be thought out though.
> 
The httpd modules mod-status and mod-info are good examples on how useful this is
>> 
>> btw. I was using brians deploymentscanner branch and /<tab>  gave no completions, /h<tab>  completed help.
> 
> It's not up-to-date then.
> 
> Thanks,
> Alexey
> 
>> 
>> /max
>> 
>>> 
>>> Thanks for the feedback.
>>> 
>>> Alexey
>>> 
>>> On 03/04/2011 06:35 PM, Max Rydahl Andersen wrote:
>>>> Hi Alexey,
>>>> 
>>>> I tried the CLI for the first time today and I must say the syntax is complete opposite to anything else I know/tried.
>>>> 
>>>> i.e. when starting a cli I would expect being able to type "help" ...not /help
>>>> 
>>>> for me / would be much better of being what you use as a prefix shortcut to "execute" operations.
>>>> 
>>>> Beyond that I really find the interface too low level; not saying the features that are there shouldn't be there
>>>> but we should add some easier to get to features than by doing raw operations.
>>>> 
>>>> Just my first 5 minute impression - i'll try read your new docs and see if that can get me pass and actually execute something ;)
>>>> 
>>>> /max
>>>> 
>>>> On Mar 4, 2011, at 17:33, Alexey Loubyansky wrote:
>>>> 
>>>>> I started an article on the CLI here
>>>>> http://community.jboss.org/docs/DOC-16581
>>>>> 
>>>>> which describes the currently supported features. Brian has just pulled
>>>>> it into the master.
>>>>> 
>>>>> You are welcome to give feedback, compensate my English and doc writing
>>>>> skills...
>>>>> 
>>>>> Thanks,
>>>>> Alexey
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>> 
>>>> /max
>>>> http://about.me/maxandersen
>>>> 
>>>> 
>>>> 
>> 
>> /max
>> http://about.me/maxandersen
>> 
>> 
>> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list