fix: use go-yq instead python-yq

This commit is contained in:
Lonenso 2022-03-20 16:08:56 +08:00
parent cd2473e885
commit ca8a48ecda
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ init() {
echo "Init $name"
git clone "$source" "$path"
fi
done < <(yq -r '.cheatpaths[] | [.name, .path, .source] | @tsv' "$(cheat -C | awk '{print $2}')")
# requires go-yq
done < <(yq '.cheatpaths[] | [.name, .path, .source] | @tsv' "$(cheat -C | awk '{print $2}')")
echo "Finished init"
}