mmote.ru/.vscode/tasks.json

24 lines
477 B
JSON
Raw Normal View History

2023-11-21 22:53:29 +03:00
{
"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",
}
]
}