Deno must be installed.
On Windows GitBash is required.
Setup an alias and then run a command in every project of a VSCode workspace
# Store alias in $HOME/.bashrc
alias vsforeach="deno run --allow-run --allow-read https://gist.githubusercontent.com/kekru/256d73c7819efc35e55cd88c5903ab46/raw/25072c432cbadee38ca2d725fbe7f03f5f6eafcc/vsforeach.js"
# Run command, referencing the .code-workspace file and your command
# "#PROJECT" will be replaced by the folder name of the current project
vsforeach ../something.code-workspace "echo 'Hello #PROJECT'"