It's all about the answers!

Ask a question

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


David Hagood (622) | asked Aug 24 '11, 12:35 p.m.
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?

One answer



permanent link
Gili Mendel (1.8k56) | answered Aug 25 '11, 8:49 a.m.
JAZZ DEVELOPER
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

Your answer


Register or 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.