From: Gustav Eek Date: Thu, 22 Oct 2020 22:22:14 +0000 (+0200) Subject: [jira-tk] Inital on Jira took-kit X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=a739e78f4387d0c53a17bdd146c17372019f6dea;p=users%2Fgustav%2Fscripts.git [jira-tk] Inital on Jira took-kit --- diff --git a/jira-tk b/jira-tk new file mode 100644 index 0000000..68e54a8 --- /dev/null +++ b/jira-tk @@ -0,0 +1,28 @@ +#!/bin/bash + +# Toolkit for retrieval of Jira content and similar based on curl and +# pandoc + +# Parse the command line. Regarding getopt(1) external or getopts(3) +# builtin +# http://blog.onetechnical.com/2012/07/16/bash-getopt-versus-getopts/ + +HELP="${0##*/}: toolkit for confluence wiki page information retrieaval +Usage: ${0##*/} [-h] [-i PAGE_ID] [-m] + + -i ISSUE_ID Issue ID of issue to operate on + -l List used issue ID's + -m Print page as markdown + -o Out file (optional) + -c HTML out (optional) + -f Foce used page ID's rewrite + -d DESCRIPT Add page description to used page ID's list + -h Help -- show this page and exit + -v Vebose output + +Page content is *not* printed on stdout, tough that would be +preferred." + + + +