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
2022-12-02 20:10:38 +01:00

5 lines
139 B
Bash
Executable file

#!/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 "]"}'