aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
Commit message (Collapse)AuthorAge
* test module for config cratelukeflo2025-02-23
|
* replace Config crate with Figment -> better merging of default and config valueslukeflo2025-02-22
|
* implement working config file construct, error handling should be improvedlukeflo2025-02-21
|
* parse config filelukeflo2025-02-21
| | | | | | | + set default values for config fields + merge fields named in the config file with default values + values from file take precedence over default values + to accomplish this, all config values are wrapped in `Option<T>`
* resource opener in configlukeflo2025-02-19
| | | | | | + implement config field `pdf_opener` for setting app to open PDFs/Epubs + implement config field `url_opener` for setting app to open URLs/DOIs + function to select fallback if no field is provided in config
* improve file handlinglukeflo2025-02-17
| | | | | | + If config file **and** CLI args have different files/dirs, concat them and open all + Adapt UI to show which files are choosen + TODO: Flag for ignoring config file
* implement basic config struct and example filelukeflo2025-02-17