Skip to content
Configurable commands with easy to setup forms.
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
resources/logo
src
.gitignore
.travis.yml
.vscodeignore
LICENSE
README.md
package.json
tsconfig.json
tslint.json

README.md

VS Code Run Me

Create and customize commands to be executed by answering a few questions.

Getting started

  1. Create a set of commands to execute.
  2. Use ctrl+shift+P to invoke the Command Palette.
  3. Type Run Me: Run.
  4. Your list of commands will appear, you can then select the one to execute.
  5. If your command has a form, the questions will be displayed.
  6. The command will be executed.
  7. You can bind a keyboard shortcut to the command. You can find it under run-me.$your_command_identifier$.

Configuration

{
	"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"
		}
	}
}

License

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

You can’t perform that action at this time.