Added gojq to the tools

This commit is contained in:
2019-10-26 16:10:24 +09:00
parent e5bb7bbe26
commit 62b5a2e46a
5 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
TYPES=`curl -sS 'https://notify.moe/api/types' | jq '.[]' | cut -d '"' -f 2`
TYPES=`curl -sS 'https://notify.moe/api/types' | gojq '.[]' | cut -d '"' -f 2`
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd "$SCRIPTPATH"
mkdir -p arn