]> git.g-eek.se Git - users/gustav/scripts.git/commitdiff
[jira-tk] Inital on Jira took-kit
authorGustav Eek <gustav.eek@fripost.org>
Thu, 22 Oct 2020 22:22:14 +0000 (00:22 +0200)
committerGustav Eek <gustav.eek@fripost.org>
Thu, 22 Oct 2020 22:22:14 +0000 (00:22 +0200)
jira-tk [new file with mode: 0644]

diff --git a/jira-tk b/jira-tk
new file mode 100644 (file)
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."
+
+
+
+