Create and customize commands to be executed by answering a few questions.
- Create a set of commands to execute.
- Use
ctrl+shift+Pto invoke the Command Palette. - Type
Run Me: Run. - Your list of commands will appear, you can then select the one to execute.
- If your command has a form, the questions will be displayed.
- The command will be executed.
- You can bind a keyboard shortcut to the command. You can find it under
run-me.$your_command_identifier$.
{
"run-me": {
"commands": [
{
"identifier": "test",
"description": "Test",
"command": "echo $var1 $var2",
"working_directory": "$tmp",
"form": [
{
"variable": "$var1",
"question": "What should $var1 be?",
"default": "Hello world!"
},
{
"variable": "$var2",
"question": "What about $var2?",
"options": [
"Good day!",
"Good evening!",
"Good night!"
]
}
]
}
],
"variables": {
"$tmp": "/tmp"
}
}
}The code is licensed under the MIT license. See LICENSE.
Logo made by Kirill Kazachek from www.flaticon.com is licensed by CC 3.0 BY