commit:941abdc6763a60cda6b82fc6fd8c9d19216dc247
author:Chip Black
committer:Chip Black
date:Fri Jan 27 03:51:39 2012 -0600
parents:7711d3ff8836362c7a2afc8eeab083e6fe43d3da
Add cursory documentation
diff --git a/README b/README
line changes: +16/-0
index 0000000..e655153
--- /dev/null
+++ b/README
@@ -0,0 +1,16 @@
+trac-attack - a simple interface for trac using the XML-RPC interface
+
+trac-attack is currently a simple interface to trac's ticketing using
+the XML-RPC interface.  It's configured with a config file at
+~/.trac-attack.rc.  See trac-attack.rc.example for details.  There are
+also some command-line options:
+
+Usage: trac-attack.py [options]
+
+Options:
+  -h, --help            show this help message and exit
+  -t TRAC, --trac=TRAC  Which trac to connect to
+
+The -t option switches between sections in the config file.  If it is
+not specified, then the default option in the main section defines which
+trac section to use.

diff --git a/trac-attack.rc.example b/trac-attack.rc.example
line changes: +9/-0
index 0000000..ce30588
--- /dev/null
+++ b/trac-attack.rc.example
@@ -0,0 +1,9 @@
+[main]
+default = foo
+
+[queries]
+major = status!=closed&owner=$USER&priority=major
+
+[foo]
+user = henry
+url = https://henry:hunter2@trac.foo.com/login/rpc