pandoc aux scripts and templates

This commit is contained in:
2018-11-08 17:10:11 -02:00
parent bc38190ddb
commit 0f8e9f4fb1
7 changed files with 919 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
type=$1
id=$2
to=$3
token="07303f7bded4663f8151f4760d1316792196a9c2acd151d6634591b1ebe8846a7b31da3fea9a5de6ff03aa950219382f41d0510b43e6742c4bff692e8d898baa"
function usage {
printf "$0 [notes | folders | resources | tags ] [ID] [toFormat]"
}
if [ -z $1 ]
then
usage
exit
fi
curl -s http://localhost:41184/${type}/${id}?token=${token}