Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

REST is nice, bash is best (command line client?)

Forgive me if I've missed this, but:

While having REST is nice as an interface, has anybody created a command line client to allow at least some simple operations to be performed within a script (or Makefile, or ...)?

I'd like to automate pulling resources into a project during build, so having a command like:

ram_get --id=<guid>

that would do all the REST operations to give me that resource would be great.

(bonus points for being fancier and allowing me to do things like "given this asset, get a related asset identified by ....")

Am I the only weirdo that wants to access things from a command line?

0 votes



One answer

Permanent link
For command line, Ant the way you drive it.

You can create a set of .bash utilities that contain some logic like this one


ant -v -lib <extracted ramclient.zip> -DsomeProp=$1 -DanotherProp=$2


see http://publib.boulder.ibm.com/infocenter/ramhelp/v7r5m0/topic/com.ibm.ram.ant.doc/topics/toc.html

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 24 '11, 12:35 p.m.

Question was seen: 9,303 times

Last updated: Aug 24 '11, 12:35 p.m.

Confirmation Cancel Confirm