Re: CLI for CloudStack: cloudmonkey

2012-11-16 Thread Rohit Yadav
;>> for the CLI. Thanks for the feedback so far. >>>>>> The top TODOs left now are: >>>>>> - Reverse search >>>>>> - Bash/zsh completion >>>>>> >>>>>> Regards. >>>>>> PS. Just in case you

Re: CLI for CloudStack: cloudmonkey

2012-11-16 Thread Dave Cahill
>> > >>>> > >>>> From: Charles Moulliard [ch0...@gmail.com] > >>>> Sent: Monday, November 12, 2012 12:49 PM > >>>> To: cloudstack-dev > >>>> Subject: Re: CLI for CloudStack: cloudmonkey > >>&g

Re: CLI for CloudStack: cloudmonkey

2012-11-16 Thread Rohit Yadav
cloudstackAPI and CLI too gets the new >> APIs >>>> on the fly. The functional closures in CLI will make sure the new APIs >> and >>>> its handlers are created with grammar rules. The developer won't need to >>>> change apidocs, marvin or CLI. I think this is on

Re: CLI for CloudStack: cloudmonkey

2012-11-15 Thread Dave Cahill
es. The developer won't need to > >> change apidocs, marvin or CLI. I think this is one of my best hacks [0] > >> which leverages on existing code and I think it would be very > maintainable > >> in future. > >> > >> Sorry everyone, I&

Re: CLI for CloudStack: cloudmonkey

2012-11-15 Thread Rohit Yadav
he feedback so far. >> The top TODOs left now are: >> - Reverse search >> - Bash/zsh completion >> >> Regards. >> PS. Just in case you're curious: >> [0] https://github.com/bhaisaab/hacktools >> >>

Re: CLI for CloudStack: cloudmonkey

2012-11-15 Thread Dave Cahill
the feedback so far. > The top TODOs left now are: > - Reverse search > - Bash/zsh completion > > Regards. > PS. Just in case you're curious: > [0] https://github.com/bhaisaab/hacktools > > > From: Charles Moulliard [ch0...@gmail.com] > Sent: Monday, November 12, 20

RE: CLI for CloudStack: cloudmonkey

2012-11-12 Thread Rohit Yadav
___ From: Charles Moulliard [ch0...@gmail.com] Sent: Monday, November 12, 2012 12:49 PM To: cloudstack-dev Subject: Re: CLI for CloudStack: cloudmonkey Hi, I don't want to create a developer war or position a technology against another (python against java) but we

Re: CLI for CloudStack: cloudmonkey

2012-11-11 Thread Charles Moulliard
sayev, Ilya wrote: > I guess mine got wiped somehow... > > -Original Message- > From: Musayev, Ilya [mailto:imusa...@webmd.net] > Sent: Friday, November 09, 2012 4:51 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > R

RE: CLI for CloudStack: cloudmonkey

2012-11-09 Thread Musayev, Ilya
I guess mine got wiped somehow... -Original Message- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Friday, November 09, 2012 4:51 PM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Rohit History seems to retain only last session and not

RE: CLI for CloudStack: cloudmonkey

2012-11-09 Thread Musayev, Ilya
Rohit History seems to retain only last session and not previous - is this by design? Thanks ilya -Original Message- From: sebgoa [mailto:run...@gmail.com] Sent: Friday, November 09, 2012 4:52 AM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey

RE: CLI for CloudStack: cloudmonkey

2012-11-09 Thread Rohit Yadav
riday, November 09, 2012 3:21 PM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey Using lower case commands solved the issue thanks, and happy Diwali -Sebastien On Nov 8, 2012, at 8:14 PM, Rohit Yadav wrote: > Oh, forgot to see that. Yes, now all the cmds are l

Re: CLI for CloudStack: cloudmonkey

2012-11-09 Thread sebgoa
> Regards. > > From: Kishan Kavala [kishan.kav...@citrix.com] > Sent: Thursday, November 08, 2012 11:29 PM > To: cloudstack-dev@incubator.apache.org > Cc: cloudstack-dev@incubator.apache.org > Subject: Re: CLI for CloudStack: cloudmonkey > > Sebast

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Rohit Yadav
..@webmd.net] Sent: Friday, November 09, 2012 5:21 AM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey One more enhancement request, when going through each large object (for example network or networkoffering), maybe we can add 2 dashed lines or something els

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Musayev, Ilya
[mailto:imusa...@webmd.net] Sent: Thursday, November 08, 2012 6:44 PM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Rohit This would be an enhacement request, can we have cloudmonkey don’t terminate if object is not found.. Below is the example of what just happened

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Musayev, Ilya
34b1f0-2305-4ee6-ab31-880e5d615a90) does not exist. # back to bash prompt... Thanks ilya -Original Message- From: Rohit Yadav [mailto:rohit.ya...@citrix.com] Sent: Thursday, November 08, 2012 3:45 PM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Yes,

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Musayev, Ilya
Yadav [mailto:rohit.ya...@citrix.com] Sent: Thursday, November 08, 2012 3:45 PM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Yes, easy_install will work too using sudo easy_install cloudmonkey. Or, using pip: http://www.pip-installer.org/en/latest/installing.html#usin

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Rohit Yadav
: Musayev, Ilya [imusa...@webmd.net] Sent: Friday, November 09, 2012 1:25 AM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Never mind, I also have easy_install, I'll try that route... Thanks -Original Message- From: Musayev, Ilya [mailto:

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Musayev, Ilya
Never mind, I also have easy_install, I'll try that route... Thanks -Original Message- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Thursday, November 08, 2012 2:53 PM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey So pip comes

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Musayev, Ilya
@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Oh, forgot to see that. Yes, now all the cmds are lowercase (except for few params liks isAsync=) and tab completion is advised. Regards. From: Kishan Kavala [kishan.kav...@citrix.com] Sent

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Rohit Yadav
@incubator.apache.org Cc: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey Sebastian, Try set apikey in lower case. Same with set secretkey. ~kishan On 08-Nov-2012, at 10:00 PM, "Sebastien Goasguen" wrote: > Actually it does not work yet. > > Now I

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Rohit Yadav
. From: Sebastien Goasguen [run...@gmail.com] Sent: Thursday, November 08, 2012 10:00 PM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey Actually it does not work yet. Now I can type 'b' but it does not get passed properly: πŸ™‰ cloudmonkey&g

Re: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Kishan Kavala
ype-the-b-letter-in-python-shell-in-os-x >>> >>> Let me know if this still fails then. >>> >>> Regards. >>> >>> >>> From: Sebastien Goasguen [run...@gmail.com] >>> Sent: Thursday, Novemb

Re: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Sebastien Goasguen
om/questions/297527/cant-type-the-b-letter-in-python-shell-in-os-x >> >> Let me know if this still fails then. >> >> Regards. >> >> ____________ >> From: Sebastien Goasguen [run...@gmail.com] >> Sent: Thursday, November 08

Re: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Sebastien Goasguen
tions/297527/cant-type-the-b-letter-in-python-shell-in-os-x > > Let me know if this still fails then. > > Regards. > > > From: Sebastien Goasguen [run...@gmail.com] > Sent: Thursday, November 08, 2012 5:37 PM > To: cloudstack-dev@in

RE: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Rohit Yadav
PM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey Hi, I am testing the cli and I have the weirdest issue. When I set the apikey or secretkey, the lower case 'b' letter does not print at the prompt. So if my keys contain 'b' they don't work..

Re: CLI for CloudStack: cloudmonkey

2012-11-08 Thread Sebastien Goasguen
_ > From: Musayev, Ilya [imusa...@webmd.net] > Sent: Wednesday, November 07, 2012 11:41 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > Rohit, > > Can I get the CLI only without going through the whole source code ma

RE: CLI for CloudStack: cloudmonkey

2012-11-07 Thread Rohit Yadav
che.org Subject: RE: CLI for CloudStack: cloudmonkey Rohit, Can I get the CLI only without going through the whole source code maven install? Is it part of any RPM? Thanks ilya -Original Message- From: Rohit Yadav [mailto:rohit.ya...@citrix.com] Sent: Monday, November 05, 2012 11:35 AM

RE: CLI for CloudStack: cloudmonkey

2012-11-07 Thread Musayev, Ilya
: CLI for CloudStack: cloudmonkey Checkout latest code. Few changes to share: - All lowercase now - Tab tab over verbs to see list of params for that api, example list users - This needs improvement but help string, using --help: list user --help - Caching to speedup runtime - Color and Parsing

Re: CLI for CloudStack: cloudmonkey

2012-11-05 Thread Rohit Yadav
01, 2012 2:23 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: RE: CLI for CloudStack: cloudmonkey >> >> After you install the tool, so that cloudmonkey is in your /usr/local/bin or >> in >> $PATH... >> >> Two ways; >> 1. As comm

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Edison Su
> -Original Message- > From: Rohit Yadav [mailto:rohit.ya...@citrix.com] > Sent: Thursday, November 01, 2012 2:23 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > After you install the tool, so that cloudmonkey is in y

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Rohit Yadav
: Edison Su [edison...@citrix.com] Sent: Friday, November 02, 2012 1:55 AM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Oh, it reminds me that how to use the CLI on the bash command line? I think admin may want to call cloudstack API in a bash script, how can I do

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Rohit Yadav
that's okay? Regards. From: Edison Su [edison...@citrix.com] Sent: Friday, November 02, 2012 1:55 AM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Oh, it reminds me that how to use the CLI on the bash com

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Edison Su
: cloudstack-dev@incubator.apache.org > Subject: Re: CLI for CloudStack: cloudmonkey > > Yes, I look forward to using it instead of local curl calls on the command > line :-) > > On Thu, Nov 1, 2012 at 2:02 PM, Edison Su wrote: > > > > > >> -Original M

Re: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Marcus Sorensen
AM >> To: cloudstack-dev@incubator.apache.org >> Subject: RE: CLI for CloudStack: cloudmonkey >> >> Hi Chip, please go ahead if we can fix the http/s issue. The connection is >> based on marvin, I'm sure using CLI we'll find out more bugs and fix anything >> in m

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Edison Su
> -Original Message- > From: Rohit Yadav [mailto:rohit.ya...@citrix.com] > Sent: Thursday, November 01, 2012 11:45 AM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > Hi Chip, please go ahead if we can fix the http/s iss

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Rohit Yadav
emoji/ From: Chip Childers [chip.child...@sungard.com] Sent: Friday, November 02, 2012 12:19 AM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey On Thu, Nov 1, 2012 at 2:45 PM, Rohit Yadav wrote: > Hi Chip, please go ahead if we can fix the http/s issue. The co

Re: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Chip Childers
On Thu, Nov 1, 2012 at 2:45 PM, Rohit Yadav wrote: > Hi Chip, please go ahead if we can fix the http/s issue. The connection is > based on marvin, I'm sure using CLI we'll find out more bugs and fix anything > in marvin thereby help maintain marvin->tests and CLI. > Please hack that up on tools/

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Rohit Yadav
hursday, November 01, 2012 11:15 PM To: cloudstack-dev@incubator.apache.org Subject: Re: CLI for CloudStack: cloudmonkey On Wed, Oct 31, 2012 at 2:10 PM, Rohit Yadav wrote: > Hi, > > I was working on a CLI for cloudstack, it's based on Marvin (the neglected > robot) and cal

Re: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Chip Childers
On Wed, Oct 31, 2012 at 2:10 PM, Rohit Yadav wrote: > Hi, > > I was working on a CLI for cloudstack, it's based on Marvin (the neglected > robot) and called cloudmonkey after our beloved mascot :D > > I've committed that on master, please review: > https://git-wip-us.apache.org/repos/asf?p=incuba

RE: CLI for CloudStack: cloudmonkey

2012-11-01 Thread Edison Su
> -Original Message- > From: Rohit Yadav [mailto:rohit.ya...@citrix.com] > Sent: Wednesday, October 31, 2012 10:45 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: CLI for CloudStack: cloudmonkey > > > On 01-Nov-2012, at 4:40 AM, Edison Su wrote:

Re: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Rohit Yadav
2:51 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: RE: CLI for CloudStack: cloudmonkey >> >> Then you cite a wrong example in your former mail. You stated: >> >>>>> Seems doesn't support auto-completion for api parameters? >>>

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Musayev, Ilya
Thanks Rohit, I will give it a try shortly. -Original Message- From: Rohit Yadav [mailto:rohit.ya...@citrix.com] Sent: Wednesday, October 31, 2012 2:10 PM To: cloudstack-dev@incubator.apache.org Subject: CLI for CloudStack: cloudmonkey Hi, I was working on a CLI for cloudstack, it&#

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Edison Su
1, 2012 2:51 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > Then you cite a wrong example in your former mail. You stated: > > > > > Seems doesn't support auto-completion for api parameters? > > > > >

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Frank Zhang
work for python. > If there are python library can get it done, that's fine. > > > -Original Message- > > From: Frank Zhang [mailto:frank.zh...@citrix.com] > > Sent: Wednesday, October 31, 2012 2:37 PM > > To: cloudstack-dev@incubator.apache.org > &g

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Edison Su
-Original Message- > From: Frank Zhang [mailto:frank.zh...@citrix.com] > Sent: Wednesday, October 31, 2012 2:37 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > No. I don't think so > bash auto completion is not for

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Frank Zhang
ilto:edison...@citrix.com] > Sent: Wednesday, October 31, 2012 2:25 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > For a better auto completion support, you may take a look at bash auto > completion(http://info2html.sourceforge.net/cgi-bi

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Edison Su
/master/ocaml/xe-cli > -Original Message- > From: Rohit Yadav [mailto:rohit.ya...@citrix.com] > Sent: Wednesday, October 31, 2012 12:27 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: CLI for CloudStack: cloudmonkey > > I did an autocompletion fix for Mac OSX

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Rohit Yadav
rank Zhang [frank.zh...@citrix.com] Sent: Thursday, November 01, 2012 1:32 AM To: cloudstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Cool! I like it. It's better to add 'clint' to install_requires field of setup.py, then I don't need manually insta

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Frank Zhang
udstack-dev@incubator.apache.org > Subject: CLI for CloudStack: cloudmonkey > > Hi, > > I was working on a CLI for cloudstack, it's based on Marvin (the neglected > robot) and called cloudmonkey after our beloved mascot :D > > I've committed that on master, pl

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Rohit Yadav
udstack-dev@incubator.apache.org Subject: RE: CLI for CloudStack: cloudmonkey Seems doesn't support auto-completion for api parameters? πŸ™‰ cloudmonkey> api listUsers The ideal cli should list all the parameter names for listUsers api, if I type "tab" at the end of l

RE: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Edison Su
ya...@citrix.com] > Sent: Wednesday, October 31, 2012 11:10 AM > To: cloudstack-dev@incubator.apache.org > Subject: CLI for CloudStack: cloudmonkey > > Hi, > > I was working on a CLI for cloudstack, it's based on Marvin (the neglected > robot) and called cloudmonkey after our

Re: CLI for CloudStack: cloudmonkey

2012-10-31 Thread Ahmad Emneina
I welcome our new overlords! :p On 10/31/12 11:10 AM, "Rohit Yadav" wrote: >Hi, > >I was working on a CLI for cloudstack, it's based on Marvin (the >neglected robot) and called cloudmonkey after our beloved mascot :D > >I've committed that on master, please review: >https://git-wip-us.apache.org