config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: GPL-3.0 Imports: 3 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 {
	// ConfigDir is the directory where terminaltask stores its config/data files.
	// Default: $TERMINALTASK_CONFIG_DIR or, if unset, UserConfigDir()/terminaltask.
	ConfigDir string

	// TasksFile is the full path to the tasks JSON file.
	// Default: ConfigDir/tasks.json.
	TasksFile string
}

Config holds configuration for terminaltask.

func Load

func Load() (Config, error)

Load builds a Config from environment variables and sensible defaults.

Jump to

Keyboard shortcuts

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