From 4ea9884c6c80dca002444b8d29c90828024b6116 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 7 May 2026 19:21:22 +0000 Subject: [PATCH] chore(dev): add task to devrun run --- .vscode/tasks.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 56a494fb..d359045d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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": "" + }, ] } \ No newline at end of file