mirror of
https://github.com/cheat/cheat.git
synced 2024-11-23 14:31:36 +01:00
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
Block a user