tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
963 stars 42 forks source link

refactor config & cli to use Path instead of Strings #317

Closed hasezoey closed 1 month ago

hasezoey commented 1 month ago

This PR refactors the Settings and CLI fields to use Paths instead of strings where it makes sense, including all other parts that touched that.

In addition to just switching to paths, some functions also now error more correctly on problems instead of being marked "successful" (like import / export)