diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..82a3386 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# good_feeder + +Dumps and colorizes Jenkins RSS feeds. + +## Usage + +``` +usage: good_feeder [-h] [-a AUTH] [--insecure] [-l] [-f] [-s [SEARCH]] [-n] [--html] [-V] [jenkins_url] + +positional arguments: + jenkins_url + +optional arguments: + -h, --help show this help message and exit + -a AUTH, --auth AUTH Format: "username:token" (or omit "-a" and use JENKINS_AUTH environment variable) + --insecure Disable SSL certificate verification + -l, --latest Show only latest builds + -f, --failed Show only failed builds + -s [SEARCH], --search [SEARCH] + Filter output on sub-string (case-sensitive) + -n, --negate Negate search filter + --html Output as html (i.e. email) + -V, --version Show version +``` + +## Example + +```sh +# Anonymous query +good_feeder https://my_jenkins_host + +# Authenticated query (via argument) +good_feeder -a "myUser:myPassword" https://my_jenkins_host + +# Authenticated query (via environment) +JENKINS_AUTH="myUser:myPassword" +export JENKINS_AUTH +good_feeder https://my_jenkins_host +``` |