Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct {
// Global flags
Overwrite bool `help:"Overwrite existing markdown files when processing"`
UpdateCovers bool `help:"Re-download cover images even if they already exist"`
// Datasette flags
Datasette bool `help:"Enable Datasette output" default:"true"`
DatasetteDB string `help:"Path to SQLite database file" default:"./hermes.db"`
// Cache flags
CacheDBFile string `help:"Path to cache SQLite database file" default:"./cache.db"`
CacheTTL string `help:"Cache time-to-live duration (e.g., 720h for 30 days)" default:"720h"`
// TMDB cover cache flags (used by importers and enhance command)
UseTMDBCoverCache bool `help:"Use development cache for TMDB cover images to avoid repeated downloads" default:"false"`
TMDBCoverCachePath string `help:"Path to TMDB cover cache directory" default:"tmdb-cover-cache"`
Import ImportCmd `cmd:"" help:"Import data from various sources"`
Enhance enhance.EnhanceCmd `cmd:"" help:"Enhance existing markdown notes with TMDB data"`
Cache CacheCmd `cmd:"" help:"Manage cache database"`
Diff diff.DiffCmd `cmd:"" help:"Diff imported data between sources"`
}
CLI represents the complete command structure for the hermes application
type CacheCmd ¶
type CacheCmd struct {
Invalidate cache.InvalidateCacheCmd `cmd:"" help:"Invalidate (clear) cache for a specific source"`
}
CacheCmd represents the cache management command
type ImportCmd ¶
type ImportCmd struct {
Goodreads goodreads.GoodreadsCmd `cmd:"" help:"Import books from Goodreads library export"`
IMDB imdb.IMDBCmd `cmd:"" help:"Import movies/shows from IMDB lists"`
Letterboxd letterboxd.LetterboxdCmd `cmd:"" help:"Import movies from Letterboxd"`
Steam steam.SteamCmd `cmd:"" help:"Import games from Steam"`
}
ImportCmd represents the import command and its subcommands
Click to show internal directories.
Click to hide internal directories.