[jboss-as7-dev] CLI Recipes
ssilvert at redhat.com
ssilvert at redhat.com
Mon Oct 22 15:13:27 EDT 2012
Good info, Stephen.
I gotta put in a plug for CLI GUI here. When the syntax gets
complicated, it's a lot easier to do those tasks with the GUI.
For viewing lists of things, you just browse the tree. No need for
typing commands.
For executing operations, you get a dialog box for all the inputs,
complete with context-sensitive help. And you don't have to worry about
all that complex syntax and typing because CLI GUI does it for you.
Then when you've got a command that you want to put into a script you
just double-click the executed command and it will copy the command to
the system clipboard.
https://community.jboss.org/wiki/AGUIForTheCommandLineInterface
For AS7.2 you also get:
* Browse the file system to find and deploy applications
* Select deployments for undeploy
* Browse the file system to execute CLI scripts
* Remember the last 10 CLI scripts so you don't have to find them on the
file system next time
Stan
On 10/22/2012 2:35 PM, Alexey Loubyansky wrote:
> Hi Steve,
>
> thanks for your contribution. All of them, actually, starting from the
> early days :)
>
> Looks great. Probably the only comments I could add:
>
> - these articles advertise operations which is fine, although they are
> complex syntax-wise and we'd probably like to promote commands instead.
> Although, not all the things you described can be done with commands,
> so, this also shows what should be improved on the CLI side.
>
> - the same for the DMR syntax for parameter values, e.g. login-modules
> is crazy to simply type in, although it's valid and fine. But if anybody
> needs to type these things, it can be simplified a bit following
> https://community.jboss.org/wiki/CLICompoundValueFormat.
>
> - for standalone mode, when you describe how to add a driver, we could
> also add how to add the driver's module using the module command. But
> it's limited to the standalone only.
>
> Thanks,
> Alexey
>
> On 10/19/2012 03:15 PM, Stephen Coy wrote:
>> Hi there,
>>
>> I've added some CLI recipes to
>> <https://docs.jboss.org/author/display/AS71/CLI+Recipes> that show how to:
>>
>> * add a JDBC driver
>> * add datasources (including XA)
>> * bind data into JNDI
>> * define a authentication realm
>>
>>
>> as well as combine the above into a script that can be executed from a
>> command line.
>>
>> Can someone run their eyeballs past it please and review it.
>>
>> Cheers,
>>
>> Steve Coy
>>
>>
>>
>> _______________________________________________
>> 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