[jboss-as7-dev] the cli status

Bruno Georges bgeorges at redhat.com
Mon Mar 7 04:17:23 EST 2011


I like the good old vi: ! 
/ and \ are a not very common especially when it comes to regexp
On Mar 5, 2011, at 15:19, Alexey Loubyansky <alexey.loubyansky at redhat.com> wrote:

> It's not only about help. The whole thing is about distinguishing 
> between the commands and operations.
> 
> I was thinking one of the way to do that would be to have a command mode 
> and an operation mode. So, if we get advanced enough with the commands 
> then perhaps it'll make the operation mode an exception or close to that.
> 
> So, in that case, I thought we would still use the prefix idea.
> 
> In the first approach, either commands or operations would require a 
> prefix (the same one) like it is currently done but with the possibility 
> to switch, i.e. you can switch to 'command mode' in which commands are 
> typed w/o a prefix and operations will require it.
> 
> Another approach would be to assign different prefixes for both commands 
> (e.g. /) and operations (e.g. &, # or something). These prefixes can be 
> used explicitly to distinguish between commands and operations no matter 
> in which mode you are. But one of them could be made the default one and 
> optional. Again with the possibility to switch the modes if you like. 
> The default prefix could also be added to the command prompt to indicate 
> the current mode.
> 
> Alexey
> 
> On 03/05/2011 01:15 AM, Max Rydahl Andersen wrote:
>> 
>> On Mar 5, 2011, at 24:46, Ales Justin wrote:
>> 
>>>> i.e. when starting a cli I would expect being able to type "help" ...not /help
>>> 
>>> What about "--help"?
>> 
>> in the interactive command line shell ? never seen that.
>> 
>> as command line argument sure; but otherwise no.
>> 
>> try use mvn shell, seam forge, any sql query tool like mysqlclient, well heck..just try use bash it doesn't require you to put special characters in front of your commands ..and filesystem (i.e. "low level operations") are accessed by putting a command/alias in front ;)
>> 
>> /max
>> 
>> 
>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> 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