[Rt-commit] r4558 - in rt/branches/3.5-TESTING: .
kevinr at bestpractical.com
kevinr at bestpractical.com
Mon Feb 20 22:24:27 EST 2006
Author: kevinr
Date: Mon Feb 20 22:24:26 2006
New Revision: 4558
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/bin/rt.in
Log:
r11045 at sad-girl-in-snow: kevinr | 2006-02-20 22:23:27 -0500
* Added basic documentation for the shell
Modified: rt/branches/3.5-TESTING/bin/rt.in
==============================================================================
--- rt/branches/3.5-TESTING/bin/rt.in (original)
+++ rt/branches/3.5-TESTING/bin/rt.in Mon Feb 20 22:24:26 2006
@@ -1355,9 +1355,10 @@
For more information:
- - rt help actions (a list of possible actions)
- - rt help objects (how to specify objects)
- rt help usage (syntax information)
+ - rt help objects (how to specify objects)
+ - rt help actions (a list of possible actions)
+ - rt help types (a list of object types)
- rt help config (configuration details)
- rt help examples (a few useful examples)
@@ -1372,6 +1373,8 @@
Syntax:
rt <action> [options] [arguments]
+ or
+ rt shell
Each invocation of this program must specify an action (e.g. "edit",
"create"), options to modify behaviour, and other arguments required
@@ -1382,6 +1385,10 @@
"rt help <action>". Some actions may be referred to by more than one
name ("create" is the same as "new", for example).
+ You may also call "rt shell", which will give you an 'rt>' prompt at
+ which you can issue commands of the form "<action> [options]
+ [arguments]". See "rt help shell" for details.
+
Objects are identified by a type and an ID (which can be a name or a
number, depending on the type). For some actions, the object type is
implied (you can only comment on tickets); for others, the user must
@@ -1396,6 +1403,7 @@
- rt help objects (how to specify objects)
- rt help actions (a list of actions)
- rt help types (a list of object types)
+ - rt help shell (how to use the shell)
--
@@ -1894,3 +1902,35 @@
For the moment, please consult examples provided with each action.
--
+
+Title: shell
+Text:
+
+ Use "rt shell" to open an interactive shell, at which you can issue
+ commands of the form "<action> [options] [arguments]".
+
+ To exit the shell, type "quit" or "exit".
+
+ Commands can be given at the shell in the same form as they would
+ be given at the command line without the leading 'rt' invocation.
+
+ Example:
+ $ rt shell
+ rt> create -t ticket set subject='new' add cc=foo at example.com
+ # Ticket 8 created.
+ rt> quit
+ $
+
+--
+
+Title: quit
+Title: exit
+Text:
+
+ Use "quit" or "exit" to leave the shell. Only valid within shell
+ mode.
+
+ Example:
+ $ rt shell
+ rt> quit
+ $
More information about the Rt-commit
mailing list