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

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"
}