mirror of https://github.com/cheat/cheat.git
fix: use go-yq instead python-yq
This commit is contained in:
parent
cd2473e885
commit
ca8a48ecda
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue