Description
Use Case
When developing Bolt tasks, it would be nice to be able to add arbitrary string tags to tasks for purposes of organization, automation, etc. For example, when writing Bolt tasks that map to compliance rules, it would be nice to be able to add tags with the rule names to the task metadata. These tags wouldn't hold any semantic meaning to Bolt or the task itself, but they would be an easy way for people to identify which tasks map to which compliance rules.
Describe the Solution You Would Like
I would like to see Bolt task metadata support an optional tags
field that accepts an array of strings, with no default value. That way, arbitrary tags could be assigned to a task in the metadata like this:
{
"description": "Some task",
"input_method": "stdin",
"tags": [
"arbitrary_tag1",
"Arbitrary Tag 2"
]
}
Describe Alternatives You've Considered
I'm currently using code comments for this type of information, but those are difficult to parse for automation and differ in style between implementing languages.