Versions in this module Expand all Collapse all v0 v0.1.0 Apr 6, 2025 Changes in this version + const AppName + const AppNameLower + const Version + func CreateDirectory(dir string) error + func CreateFile(name string) error + func DirectoryExists(dir string) (bool, error) + func EnsureConfigDirExists() error + func EnsureFileExists(name string) error + func FileExists(file string) (bool, error) + func GetConfigDirectory() (string, error) + func SaveConfig(conf *ApplicationConfig) error + type ApplicationConfig struct + AutoComplete bool + AutoCompleteMaxResults int + Colors Colors + DataBase string + DefaultMetadata []string + EnableFullTextSearch bool + HideArchived bool + Log string + LogLevel string + Shortcuts Shortcuts + var Configuration *ApplicationConfig = &ApplicationConfig{} + func ReadConfigFile(file string) (*ApplicationConfig, error) + func (a *ApplicationConfig) ConfigDir() string + func (a *ApplicationConfig) DbFile() string + func (a *ApplicationConfig) Logfile() string + func (a *ApplicationConfig) ParseLogLevel() (logrus.Level, error) + type ColorBookmarkForm struct + Background tcell.Color + Label tcell.Color + Text tcell.Color + TextBackground tcell.Color + TextPlaceHolder tcell.Color + TextSelected tcell.Color + type ColorBookmarks struct + Background tcell.Color + Background2nd tcell.Color + BackgroundSelected tcell.Color + HeaderBackground tcell.Color + HeaderText tcell.Color + Text tcell.Color + TextSelected tcell.Color + type ColorHelpPage struct + Background tcell.Color + Headers tcell.Color + Text tcell.Color + type ColorMetadata struct + Background tcell.Color + BackgroundEditable tcell.Color + Label tcell.Color + Text tcell.Color + TextBackground tcell.Color + TextEdited tcell.Color + TextSelected tcell.Color + type ColorNavBar struct + Background tcell.Color + BackgroundFocus tcell.Color + ButtonBackground tcell.Color + ButtonFocus tcell.Color + Shortcut tcell.Color + ShortcutFocus tcell.Color + Text tcell.Color + TextFocus tcell.Color + func (c *ColorNavBar) ToNavBar() *twidgets.NavBarColors + type ColorProjects struct + Background tcell.Color + BackgroundSelected tcell.Color + Header tcell.Color + Text tcell.Color + TextSelected tcell.Color + type ColorTags struct + Background tcell.Color + BackgroundSelected tcell.Color + Count tcell.Color + EmptyTag tcell.Color + Text tcell.Color + TextSelected tcell.Color + type Colors struct + Background tcell.Color + BookmarkForm ColorBookmarkForm + Bookmarks ColorBookmarks + Border tcell.Color + BorderFocus tcell.Color + ButtonBackground tcell.Color + ButtonBackgroundSelected tcell.Color + ButtonLabel tcell.Color + ButtonLabelSelected tcell.Color + HelpPage ColorHelpPage + Metadata ColorMetadata + ModalBackground tcell.Color + NavBar ColorNavBar + Projects ColorProjects + SelectionBackground tcell.Color + SelectionText tcell.Color + Tags ColorTags + TextPrimary tcell.Color + TextPrimaryDim tcell.Color + TextPrimaryLight tcell.Color + type NavBar struct + Help tcell.Key + Menu tcell.Key + NewBookmark tcell.Key + OpenBrowser tcell.Key + Quit tcell.Key + type Shortcuts struct + NavBar NavBar