Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFlags ¶
ParseFlags will create and parse the CLI flags and return the path to be used elsewhere
func ValidateConfigPath ¶
ValidateConfigPath just makes sure, that the path provided is a file, that can be read
Types ¶
type Config ¶
type Config struct { UpdateInterval int `yaml:"update_interval"` Anilist struct { Username string `yaml:"username"` } `yaml:"Anilist"` MyAnimeList struct { CsrfToken string `yaml:"csrf_token"` Cookies struct { MALSESSIONID string `yaml:"MALSESSIONID"` MALHLOGSESSID string `yaml:"MALHLOGSESSID"` } `yaml:"cookies"` } `yaml:"MyAnimeList"` }
Click to show internal directories.
Click to hide internal directories.