Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultJiraStatusMap ¶
DefaultJiraStatusMap returns the default status mapping when none is configured.
Types ¶
type ColorScheme ¶
type ColorScheme struct {
Theme string `toml:"theme"`
ProjectColor string `toml:"project"`
ActiveColor string `toml:"active"`
InProgressColor string `toml:"inprogress"`
CompletedColor string `toml:"completed"`
SomedayColor string `toml:"someday"`
TaskColor string `toml:"description"`
CompletedTaskColor string `toml:"completed-description"`
TagColor string `toml:"tag"`
TagBgColor string `toml:"tag-bg"`
SpecialTagColor string `toml:"special-tag"`
SpecialTagBgColor string `toml:"special-tag-bg"`
DateColor string `toml:"date"`
DateBgColor string `toml:"date-bg"`
PastDateColor string `toml:"past-date"`
PastDateBgColor string `toml:"past-bg"`
TodayDateColor string `toml:"today-date"`
TodayDateBgColor string `toml:"today-bg"`
AssigneeColor string `toml:"assignee"`
AssigneeBgColor string `toml:"assignee-bg"`
CycleColor string `toml:"cycle"`
CycleBgColor string `toml:"cycle-bg"`
OverdueColor string `toml:"overdue"`
OverdueBgColor string `toml:"overdue-bg"`
DeadlineColor string `toml:"deadline"`
ClockActiveColor string `toml:"clock-active"`
AgendaHeaderColor string `toml:"agenda-header"`
}
type Config ¶
type Config struct {
GeneralConfig GeneralConfig `toml:"general"`
Directories Directories `toml:"directories"`
Todo Todo `toml:"todo"`
Goals Goals `toml:"goals"`
Schedule Schedule `toml:"schedule"`
Colors ColorScheme `toml:"colors"`
Jira Jira `toml:"jira"`
}
func (*Config) GetInboxFilePath ¶
GetInboxFilePath returns the absolute path to the inbox file based on configuration
func (*Config) JiraStatusToKeyword ¶
JiraStatusToKeyword maps a JIRA status name to a karya keyword using the configured status map. Falls back to TODO for non-done categories and DONE for done categories.
func (*Config) JiraSyncInterval ¶
JiraSyncInterval returns the configured sync interval duration, defaulting to 15m.
type Directories ¶
type GeneralConfig ¶
type Jira ¶
type Jira struct {
Connections []JiraConnection `toml:"connections"`
SyncInterval string `toml:"sync_interval"`
StatusMap map[string]string `toml:"status_map"`
ExcludeProjects []string `toml:"exclude_projects"`
}
type JiraConnection ¶
type JiraConnection struct {
Name string `toml:"name"`
Endpoint string `toml:"endpoint"` // MCP server URL, e.g. "https://mcp.atlassian.com/v1/mcp"
}
Click to show internal directories.
Click to hide internal directories.