mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-08 21:10:11 +02:00
chore(dev): add task to devrun run
This commit is contained in:
Vendored
+30
@@ -24,6 +24,15 @@
|
||||
"${input:githubRemoteUsername}",
|
||||
"git@github.com:${input:githubRemoteUsername}/gluetun.git"
|
||||
],
|
||||
},
|
||||
{
|
||||
"label": "Devrun",
|
||||
"type": "shell",
|
||||
"command": "go run ./cmd/main.go run ${input:devrunProvider} ${input:devrunVPNProtocol} ${input:devrunExtraFlags}",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/devrun"
|
||||
},
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
@@ -47,5 +56,26 @@
|
||||
"type": "promptString",
|
||||
"description": "Please enter a Github username",
|
||||
},
|
||||
{
|
||||
"id": "devrunProvider",
|
||||
"type": "promptString",
|
||||
"description": "Please enter a single provider",
|
||||
},
|
||||
{
|
||||
"id": "devrunVPNProtocol",
|
||||
"type": "pickString",
|
||||
"description": "VPN protocol to use",
|
||||
"options": [
|
||||
"wireguard",
|
||||
"openvpn"
|
||||
],
|
||||
"default": "wireguard"
|
||||
},
|
||||
{
|
||||
"id": "devrunExtraFlags",
|
||||
"type": "promptString",
|
||||
"description": "Extra flags (optional)",
|
||||
"default": ""
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user