mmote.ru/.vscode/tasks.json
2023-11-21 22:53:39 +03:00

24 lines
477 B
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Start server",
"type": "shell",
"command": "hugo server",
"problemMatcher": []
},
{
"label": "New draft",
"type": "shell",
"command": "hugo new posts/${input:slug}/index.md",
"problemMatcher": []
}
],
"inputs": [
{
"id": "slug",
"type": "promptString",
"description": "Post slug",
}
]
}