config

package
v0.0.0-...-1b1464d Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 8 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 {
	Token       string `config:"TRACKER_TOKEN,required,backend=env"`
	XCloudOrgID string `config:"X_CLOUD_ORG_ID,backend=env"`
	XOrgID      string `config:"X_ORG_ID,backend=env"`

	APIBaseURL string `yaml:"api_base_url"`
	WebBaseURL string `yaml:"web_base_url"`

	Issues struct {
		DefaultQueue string `yaml:"default_queue"`
		Assignee     string
	}
	Filters     []Filter
	Debug       bool
	Force       bool
	Interactive bool
	Terminal    TerminalConfig
}

func Init

func Init() (*Config, error)

type Filter

type Filter struct {
	Name  string
	Query string
}

type TerminalConfig

type TerminalConfig struct {
	SummaryMaxLength   int `yaml:"summary_max_length"`
	ResultsTableHeight int `yaml:"table_height"`
}

Jump to

Keyboard shortcuts

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