From 223b2fb6fa3826efa9ed3118d8c48a35d9b9c1fc Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Sun, 26 Apr 2020 12:23:42 -0700 Subject: [PATCH 1/3] Create README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..dbea1e2 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# wiki-cli +A simple bash script for reading wiki articles from the command line. + +This command depends on the fact that the output of the +[wiki Makefile](https://github.com/tildeclub/site/blob/master/wiki/Makefile) +includes `.txt` output. If that script ever changed where it put files, this +script would have to be updated. + +``` +usage: wiki
+ read the article with the given 'short title' +usage: wiki --list + list all available short titles +``` From b4c3f94ba0499914232962d794e1534be8d51ae6 Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Sun, 26 Apr 2020 12:25:32 -0700 Subject: [PATCH 2/3] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..26dcca9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 tilde.club + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 2094f1953289bd339d4a0e19978a33779fcb6c14 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Sun, 26 Apr 2020 13:28:32 -0600 Subject: [PATCH 3/3] Create Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8321218 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +PREFIX ?= /usr/local + +install: + $(info installing wiki to $(PREFIX)) + @install -m 755 wiki $(PREFIX)/bin/wiki + +.PHONY: install