Open
Description
We are using Taskfiles as input for an automation system (a VSCode extenstion). For that to operate we need to know additional domain specific information about the tasks in the Taskfile. Currently, the Taskfile schema prevents adding such metadata.
Suggestion is to add a metadata object to the schema for both the Taskfile (global) and individual tasks (per task). Something like this:
---
version: '3'
vars:
foo: bar
metadata:
annotations:
generator:
repo: https://github.com/go-foo/foo
version: v1.2.3
labels:
internal-only: true
tasks:
my-task:
desc: This task is generated by foo for project fubar.
metadata:
annotations:
generator: foo
labels:
project: fubar
cmds:
- echo "generated by foo"
If there is interest we can provide a PR as the basis for implementation.
Metadata
Metadata
Assignees
Labels
No labels