CLI Docs for RT 3.0.9

Hi,

Sorry for what is really an elementary question, but I just joined the
list. I’m in the process of investigating RT 3.0.9 with the prospect
of upgrading from 2.0.15 that we run now.

One thing I’m particularly interested in is documentation for the CLI,
especially to find out what may have changed/improved in this area with
3.0.9.

Try as I might, I can’t find anything except the online manual that seems
to contain the same (inadequate, unfortunately) CLI docs that we had with
2.0.15. I’ve downloaded 3.0.9 and looked in the distribution but still
can’t find the docs I’m seeking. Could you point me to any new CLI docs
that might exist for 3.0.9?

We have many scripts that use the CLI, in order to interface with various
external processes. I’d like to know how they would fare under 3.0.9 and,
in fact, I’m holding out hope that there’s a true API(*) in the new release,
rather than just the primitive CLI we have now.

Thanks.

Mike

(*) For example, return codes from commands, so that a script can tell
reliably if they succeeded or why they failed.

Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu

Hi,

Sorry for what is really an elementary question, but I just joined the
list. I’m in the process of investigating RT 3.0.9 with the prospect
of upgrading from 2.0.15 that we run now.

One thing I’m particularly interested in is documentation for the CLI,
especially to find out what may have changed/improved in this area with
3.0.9.

Try as I might, I can’t find anything except the online manual that
seems
to contain the same (inadequate, unfortunately) CLI docs that we had
with
2.0.15. I’ve downloaded 3.0.9 and looked in the distribution but still
can’t find the docs I’m seeking. Could you point me to any new CLI
docs
that might exist for 3.0.9?

/opt/rt3/bin/rt --help

We have many scripts that use the CLI, in order to interface with
various
external processes. I’d like to know how they would fare under 3.0.9
and,
in fact, I’m holding out hope that there’s a true API(*) in the new
release,
rather than just the primitive CLI we have now.

RT’s had a proper API since RT 2.0. It’s in perl. If you’re going to be
doing serious scripting against RT, use the API, not a wrapper around
the commandline tool. It’ll make your life much easier, really.

PGP.sig (186 Bytes)

On Wed Mar 31 12:40:14 2004, Jesse Vincent said:

/opt/rt3/bin/rt --help

Jesse,

That’s good to know. Unfortunately, I guess I’d have to install RT
in order for that to work and I’d like to see the docs now before
going through the install process. Especially since I don’t yet
have a machine on which I want to install the various perl modules
(not to mention upgrading our version of perl).

Is there any way I could see the docs somewhere else?

RT’s had a proper API since RT 2.0. It’s in perl. If you’re going to be
doing serious scripting against RT, use the API, not a wrapper around
the commandline tool. It’ll make your life much easier, really.

I wish I had known that (especially since all my scripts are in perl)!
Unfortunately, on 2.0.15, ‘rt -h’ shows only the basic CLI docs (which
is how I found out about it).

I take it then, from what you’ve said above, that ‘rt -h’ on 3.0.9
will show the information about the real API.

Anyway, I would like to see the latter before actually installing RT 3.0.9,
which may not happen for quite a while here.

Thanks.

Mike

Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu