Interactive Command Batcher
I created this extension to wrap some commands with interactive inputs of vscode in an area to make use of my development env more GUI style and faster.
The example config file below should explain you how it works. Just update it for your needs. Requires restart after changes
Features
Requirements
Extension Settings
Only possible input types for now
multipleSelector,textInput
For example:
[
{
"category": "Run",
"label": "Run API",
"command": "/app/sh/api_debug.sh"
},
{
"category": "Run",
"label": "Run UI",
"command": "/app/sh/start/ui_debug.sh"
},
{
"category": "DOTNET",
"label": "Add Nuget Package",
"command": "cd {targetPath} && dotnet add package {packageName}",
"args": [
{
"name": "targetPath",
"type": "multipleSelector",
"sourceCommand": "find . -name \"*.csproj\" -exec dirname {} \\; | uniq",
"placeHolder": "Select Branch To Merge From:"
},
{
"name": "packageName",
"type": "textInput",
"placeHolder": "Package to Add:"
}
]
},
{
"category": "GIT",
"label": "Merge From",
"command": "git merge --no-ff {targetBranch}",
"args": [
{
"name": "targetBranch",
"type": "multipleSelector",
"sourceCommand": "git fetch && git branch -r",
"placeHolder": "Select Branch To Merge From:"
}
]
}
]
Known Issues
Config file change requires restart.
Release Notes
0.0.3
Readme file written
0.0.4
Readme fixes
0.0.4
Readme..
If you want to contribute:(GitHub)[https://github.com/hankhan07/vscode-interactive-command-runner]
Enjoy!