template / files / .vscode / launch.json
launch.json
| 1 | { |
| 2 | // Use IntelliSense to learn about possible attributes. |
| 3 | // Hover to view descriptions of existing attributes. |
| 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | "version": "0.2.0", |
| 6 | "configurations": [ |
| 7 | { |
| 8 | "name": "Launch tests", |
| 9 | "type": "go", |
| 10 | "request": "launch", |
| 11 | "mode": "test", |
| 12 | "program": ".", |
| 13 | "args": [] |
| 14 | }, |
| 15 | { |
| 16 | "name": "Run: template", |
| 17 | "type": "go", |
| 18 | "request": "launch", |
| 19 | "mode": "auto", |
| 20 | "program": ".", |
| 21 | "args": [] |
| 22 | }, |
| 23 | { |
| 24 | "name": "Run: template reset", |
| 25 | "type": "go", |
| 26 | "request": "launch", |
| 27 | "mode": "auto", |
| 28 | "program": ".", |
| 29 | "args": [ |
| 30 | "reset", |
| 31 | ] |
| 32 | }, |
| 33 | { |
| 34 | "name": "Run: template init", |
| 35 | "type": "go", |
| 36 | "request": "launch", |
| 37 | "mode": "auto", |
| 38 | "program": ".", |
| 39 | "args": [ |
| 40 | "init", |
| 41 | ] |
| 42 | }, |
| 43 | { |
| 44 | "name": "Run: template list", |
| 45 | "type": "go", |
| 46 | "request": "launch", |
| 47 | "mode": "auto", |
| 48 | "program": ".", |
| 49 | "args": [ |
| 50 | "list", |
| 51 | ] |
| 52 | }, |
| 53 | { |
| 54 | "name": "Run: template create -d /Users/pavel/code/advent/2020/day13", |
| 55 | "type": "go", |
| 56 | "request": "launch", |
| 57 | "mode": "auto", |
| 58 | "program": ".", |
| 59 | "args": [ |
| 60 | "create", |
| 61 | "-d", |
| 62 | "/Users/pavel/code/advent/2020/day13" |
| 63 | ] |
| 64 | }, |
| 65 | { |
| 66 | "name": "Run: template get work", |
| 67 | "type": "go", |
| 68 | "request": "launch", |
| 69 | "mode": "auto", |
| 70 | "program": ".", |
| 71 | "args": [ |
| 72 | "get", |
| 73 | "work" |
| 74 | ] |
| 75 | }, |
| 76 | { |
| 77 | "name": "Run: template blog", |
| 78 | "type": "go", |
| 79 | "request": "launch", |
| 80 | "mode": "auto", |
| 81 | "program": ".", |
| 82 | "args": [ |
| 83 | "blog", |
| 84 | ] |
| 85 | }, |
| 86 | { |
| 87 | "name": "Run: template daily", |
| 88 | "type": "go", |
| 89 | "request": "launch", |
| 90 | "mode": "auto", |
| 91 | "program": ".", |
| 92 | "args": [ |
| 93 | "daily" |
| 94 | ] |
| 95 | }, |
| 96 | { |
| 97 | "name": "Run: template log", |
| 98 | "type": "go", |
| 99 | "request": "launch", |
| 100 | "mode": "auto", |
| 101 | "program": ".", |
| 102 | "args": [ |
| 103 | "log" |
| 104 | ], |
| 105 | "console": "integratedTerminal" |
| 106 | }, |
| 107 | { |
| 108 | "name": "Run: template work test-project w/ in-memory defaults", |
| 109 | "type": "go", |
| 110 | "request": "launch", |
| 111 | "mode": "auto", |
| 112 | "program": ".", |
| 113 | "args": [ |
| 114 | "work", |
| 115 | "test-project", |
| 116 | ], |
| 117 | "env": { |
| 118 | "TEMPLATE_USE_DEFAULT_CONFIG": "true", |
| 119 | }, |
| 120 | }, |
| 121 | { |
| 122 | "name": "Run: template --profile work --project testProj", |
| 123 | "type": "go", |
| 124 | "request": "launch", |
| 125 | "mode": "auto", |
| 126 | "program": ".", |
| 127 | "args": [ |
| 128 | "--profile", |
| 129 | "work", |
| 130 | "--project", |
| 131 | "testProj", |
| 132 | ] |
| 133 | }, |
| 134 | { |
| 135 | "name": "Run: template note whoa", |
| 136 | "type": "go", |
| 137 | "request": "launch", |
| 138 | "mode": "auto", |
| 139 | "program": ".", |
| 140 | "args": [ |
| 141 | "note", |
| 142 | "whoa" |
| 143 | ] |
| 144 | }, |
| 145 | { |
| 146 | "name": "Run: template --profile test --name blah --extras-yaml extras-test.yaml --log-level debug", |
| 147 | "type": "go", |
| 148 | "request": "launch", |
| 149 | "mode": "auto", |
| 150 | "program": ".", |
| 151 | "args": [ |
| 152 | "--profile", |
| 153 | "test", |
| 154 | "--name", |
| 155 | "blah", |
| 156 | "--extras-yaml", |
| 157 | "extras-test.yaml", |
| 158 | "--log-level", |
| 159 | "debug", |
| 160 | ] |
| 161 | } |
| 162 | ] |
| 163 | } |