Yes, that makes it easily scriptable as well.

On Wed, Aug 22, 2012 at 1:12 PM, Damitha Kumarage <[email protected]> wrote:

> Creating a command interface require more work to make it user friendly.
> If we provide a set of command line
> tools instead, like EC2 and euca tools then it is easier. Our plan is to
> create a set of scripts that call the jar
> that Lahiru mentioned
>
> Damitha
>
>
> On Wed, Aug 22, 2012 at 8:42 AM, Nirmal Fernando <[email protected]> wrote:
>
>> Hi Lahiru,
>>
>> On Wed, Aug 22, 2012 at 8:29 AM, Lahiru Sandaruwan <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Refer the mail to architecture "CLI interface for the stratos
>>> cartridges",
>>>
>>> Here is the implementation plans,
>>> We can use a shell command to call the .jar,
>>>
>>>          java -cp <path>/org.wso2.carbon.hosting.mgt.cli.jar
>>> org.wso2.carbon.hosting.mgt.cli.CLITool
>>>
>>> This calls the main method of the class. We can input our parameters to
>>> main method.
>>> We can keep separate classes for the different commands or pass the
>>> operation as a input parameter.
>>>
>>> Any thoughts?
>>>
>>
>> Can't we implement a separate command line, like the one we have in
>> Apache Derby (Derby ij tool) ?
>>
>> Invoking this jar will take me into a command line where I can issue
>> commands for those various operations.
>>
>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Cloud Team,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: [email protected] cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> __________________________________________________________________
> Damitha Kumarage
> Senior Technical Lead; WSO2 Inc.
> Oxygenating the Web Service Platform
> http://www.wso2.com/
> blog:
> http://damithakumarage.wordpress.com/
> __________________________________________________________________
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to