geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GSHELL-86) command groups in help screen
Date Fri, 14 Dec 2007 15:44:45 GMT

    [ https://issues.apache.org/jira/browse/GSHELL-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551837
] 

Guillaume Nodet commented on GSHELL-86:
---------------------------------------

{quote}
My point is though that I've been working insolation with-out input for a while on this stuff,
so some of the ways GShell works are just based on my own preferences and whatever. I do want
to make GShell as easy to use a possible and make it be able to do just about anything that
someone wants in a cli app.
{quote}

Well, that's the reason why I explained what we did in ServiceMix, though I don't want to
destabilize gshell at the moment, so we did whatever we needed in ServiceMix (just very small
changes in gshell where absolutely needed).

The main problem we have is that we are working in an OSGi environment where commands are
dynamically discovered, so the idea of having a layout described by an xml file just does
not work for us.  What we came up with is having a single class implementing the CommandRegistry
and the LayoutManager.  The layout is updated dynamically when commands are registered.  


> command groups in help screen
> -----------------------------
>
>                 Key: GSHELL-86
>                 URL: https://issues.apache.org/jira/browse/GSHELL-86
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>            Reporter: Jarek Gawor
>             Fix For: 1.0-alpha-1
>
>
> The help screen shows the following:
>   ...
>   /deploy
>   list-plugins          Install plugins into a geronimo server
>   connect               Connect to a Geronimo server
>   disconnect            Disconnect from a Geronimo server
>   ..
> which I would interpret that I need to type "/deploy/connect" to execute the command.
But that does not work but "deploy/connect" works. So I would propose updating the help screen
to show the slash at the end of the group name instead of the front. e.g.:
>   ...
>   deploy/
>   list-plugins          Install plugins into a geronimo server
>   connect               Connect to a Geronimo server
>   disconnect            Disconnect from a Geronimo server
>   ..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message