plugintag

package
v1.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

README

tag Plugin

This plugin updates the tags of the current task. Existing tags are overwritten with the values provided. An empty value deletes the tag.

Configuration

Fields Description
tags key/values tags

Example

An action of type tag requires only one field, the list of tags to apply to the current task.

action:
  type: tag
  configuration:
    tags:
      foo: bar
      bar: # deleted

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Plugin = taskplugin.New("tag", "0.1", exec,
		taskplugin.WithConfig(validConfig, Config{}),
		taskplugin.WithTags(tags),
	)
)

The tag plugin allow to update the tags of a task.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tags map[string]string `json:"tags"`
}

Config represents the configuration of the plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL