From bcbd16c0c22000d9a0081adc4135df5dd437abf3 Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Sat, 1 Feb 2025 11:31:56 -0800 Subject: [PATCH 1/3] Add launch.json for deploy and preview --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..56a339b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "deploy config.example.com", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}", + "args": [ + "deploy", + "config.example.com" + ] + }, + { + "name": "print bacontest42.com", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}", + "args": [ + "print", + "bacontest42.com" + ] + } + ] +} \ No newline at end of file From efda97f3a6fbac27befd535c770ce64ee63cd856 Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Sat, 1 Feb 2025 12:10:55 -0800 Subject: [PATCH 2/3] Fix args of deploy --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 56a339b..af14fff 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,7 +12,7 @@ "program": "${workspaceFolder}", "args": [ "deploy", - "config.example.com" + "config.example.yml", ] }, { From 5e35d7a4f4c09ea133afb10adcb7e83d04de138d Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Sat, 1 Feb 2025 12:11:50 -0800 Subject: [PATCH 3/3] Add configuration with create and delete --- .vscode/launch.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index af14fff..b636716 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,6 +15,19 @@ "config.example.yml", ] }, + { + "name": "deploy config.example.com --create --delete", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}", + "args": [ + "deploy", + "config.example.yml", + "--create", + "--delete", + ] + }, { "name": "print bacontest42.com", "type": "go",