seunlanlege / vscode-action-buttons

VsCode extension for custom status bar buttons
88 stars 24 forks source link

Run multiple commands with one button #45

Open jcfrazier6 opened 4 years ago

jcfrazier6 commented 4 years ago

Love the addon but is there a way to run commands one after another using the same button?

proimage commented 3 years ago

It seems like you can just chain the commands in the command line the same way you would if you were typing. For example, "command": "ls && git status" (for bash) or "command": "ls; git status" (Windows PowerShell).