package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Feb 19, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DBPath returns the SQLite database path.
DataDir returns the data directory (~/.local/share/oku).
func EnsureConfigDir() error
EnsureConfigDir creates the config directory if it doesn't exist.
func EnsureDataDir() error
EnsureDataDir creates the data directory if it doesn't exist.
FilePath returns the config file path (~/.config/oku/config.toml).
type Config struct {
Editor string `toml:"editor"`
UseFzf bool `toml:"use_fzf"`
DefaultList string `toml:"default_list"`
}
Config holds the application configuration.
Defaults returns a Config with sensible defaults.
Load reads config from the TOML file, falling back to defaults.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.