1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

feat: add task name to json output (#2256)

This commit is contained in:
Aleksander Sh.
2025-05-20 22:37:57 +02:00
committed by GitHub
parent 89f29cb75b
commit bb5b045293
7 changed files with 76 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
version: '3'
tasks:
foo:
label: "foobar"
desc: "task description"

View File

@@ -0,0 +1,18 @@
{
"tasks": [
{
"name": "foobar",
"task": "foo",
"desc": "task description",
"summary": "",
"aliases": [],
"up_to_date": false,
"location": {
"line": 4,
"column": 3,
"taskfile": "{{ .TaskfileLocation }}"
}
}
],
"location": "{{ .TaskfileLocation }}"
}