This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/vscodium/facts/vscodium_extensions.fact

6 lines
139 B
Text
Raw Normal View History

2022-11-27 19:57:18 +00:00
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
codium --list-extensions | awk -v q="\"" -v d="," '{s=(NR==1?s:s d)q $0 q}END{print "[" s "]"}'