Skip to content

Commit 3153e95

Browse files
committed
update: task python version picker
1 parent 4b8e8b2 commit 3153e95

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.vscode/tasks.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"type": "shell",
4040
"detail": "venv create task",
4141
"command": [
42-
"python3 -m venv venv;",
42+
"${input:python-versioned} -m venv venv;",
4343
"echo '*' > venv/.gitignore;"
4444
],
4545
"problemMatcher": []
@@ -93,6 +93,7 @@
9393
}
9494
],
9595
"inputs": [
96+
// msfvenom
9697
{
9798
"id": "msfvenom-payload",
9899
"type": "pickString",
@@ -177,6 +178,7 @@
177178
"description": "Enter the output filename. if you put /dev/stdout here, the output will be printed to the terminal",
178179
"default": "${workspaceFolder}/trojan",
179180
},
181+
// note-templates
180182
{
181183
"id": "note-template-type",
182184
"type": "pickString",
@@ -192,6 +194,7 @@
192194
"description": "Enter the note filename",
193195
"default": "${workspaceFolder}/note.md",
194196
},
197+
// cyberchef url
195198
{
196199
"id": "visit-cyberchef",
197200
"type": "command",
@@ -200,6 +203,7 @@
200203
"https://gchq.github.io/CyberChef/"
201204
]
202205
},
206+
// kubeconfig creator
203207
{
204208
"id": "kubeconfig-gen-api-server",
205209
"type": "promptString",
@@ -216,6 +220,21 @@
216220
"type": "promptString",
217221
"description": "kubernetes service account namespace",
218222
"default": "default"
223+
},
224+
// python version picker
225+
{
226+
"id": "python-versioned",
227+
"type": "pickString",
228+
"description": "Python version",
229+
"options": [
230+
"python3.8",
231+
"python3.9",
232+
"python3.10",
233+
"python3.11",
234+
"python3.12",
235+
"python",
236+
],
237+
"default": "python3.12"
219238
}
220239
]
221240
}

0 commit comments

Comments
 (0)