2022-02-10 16:21:06 -05:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2022-02-17 13:32:26 -05:00
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Copy link",
|
|
|
|
"command": "node ./tasks/copy-link.js \"${selectedText}\"",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "silent"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
2022-02-10 16:21:06 -05:00
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Insert YouTube player",
|
|
|
|
"command": "node ./tasks/insert-youtube-player.js \"${file}\" \"${lineNumber}\" \"${input:youtubeWatchUrl}\"",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "silent"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Update YouTube players",
|
|
|
|
"command": "node ./tasks/update-youtube-players.js",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Organize steps",
|
|
|
|
"command": "node ./tasks/organize-steps.js \"${file}\"",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "silent"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"id": "youtubeWatchUrl",
|
|
|
|
"description": "YouTube watch URL",
|
|
|
|
"default": "",
|
|
|
|
"type": "promptString"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|