/ src / modules / cmdpal / .wt.json
.wt.json
 1  {
 2      "$version": "1.0.0",
 3      "snippets":
 4      [
 5          {
 6              "input": "pwsh -c .\\doc\\initial-sdk-spec\\generate-interface.ps1 > .\\extensionsdk\\Microsoft.CommandPalette.Extensions\\Microsoft.CommandPalette.Extensions.idl",
 7              "name": "Generate interface",
 8              "description": "Generate the interface from the SDK spec\nThis drops it into Microsoft.CommandPalette.Extensions"
 9          },
10          {
11              "input": "tasklist | findstr Extension",
12              "name": "List running extensions",
13              "description": "This will list all running extensions, as long as they have 'Extension' in the name (they should)"
14          },
15          {
16              "input": "for /F \"tokens=2\" %A in ('tasklist ^| findstr Extension') do taskkill /PID %A /F",
17              "name": "🚨 Terminate extensions 🚨",
18              "description": "Terminate anything with 'Extension' in the name"
19          },
20          {
21              "input": "start https://github.com/zadjii-msft/PowerToys/compare/main...zadjii-msft:PowerToys:{branch}?expand=1\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D",
22              "name": "New PR",
23              "description": "Create a new PR targeting the right fork.\nReplace {branch} with the actual branch you want to merge."
24          },
25          {
26              "input": "pushd .\\ExtensionTemplate\\ ; git archive -o ..\\Microsoft.CmdPal.UI.ViewModels\\Assets\\template.zip HEAD -- .\\TemplateCmdPalExtension\\ ; popd",
27              "name": "Update template project",
28              "description": "zips up the ExtensionTemplate into our assets. Run this in the cmdpal/ directory."
29          }
30      ]
31  }