config

package
v0.0.0-...-627ea22 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Ignores map[string]any `yaml:"ignores"`
	Fields  []Field        `yaml:"fields"`

	// ManageLabel will the label used by todo meister to track if this issue
	// is managed by todo meister. Defaults to managed-by::tm
	ManageLabel string `yaml:"manageLabel"`
}

func LoadConfig

func LoadConfig() *Config

func StdConfig

func StdConfig() *Config

type Field

type Field struct {
	// Text is the text that will be matched bei todo-meister
	Text string `yaml:"text"`

	// Labels represent the labels concept used by many issue tools.
	// In the end the connectors will decide what to do with the labels.
	// e.x. Jira -> priority:minor could be transalted to the native priority field of a jira issue
	Labels []string `yaml:"labels"`
}

Jump to

Keyboard shortcuts

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