run
npx https://gist.github.com/re4388/936bb7822ef5b594e33169c4eaf94d9c
to log vscode extension
#!/usr/bin/env node | |
const { exec } = require("child_process"); | |
exec("code --list-extensions", (err, stdout) => { | |
if (err) { return; } | |
const markdown = stdout.split("\n").filter( e => e ).map(extension => | |
`* [${extension}](https://marketplace.visualstudio.com/items\?itemName\=${extension})` | |
).join("\n"); | |
console.log(markdown); | |
}); |
{ | |
"name": "vscode-extension-markdown", | |
"version": "1.0.0", | |
"bin": "./index.js" | |
} |