issues
search
ratatui-org
/
crates-tui
A TUI for exploring crates.io using Ratatui
MIT License
59
stars
4
forks
source link
refactor: cleanup config.rs
#6
Closed
joshka
closed
5 months ago
joshka
commented
5 months ago
use rs.ratatui.crates-tui as the project dirs name.
hard code the CRATES
TUI
prefix for environment variables
use chained function instead of if else for default_config_dir and default_data_dir
rearranged the functions in the file to make it easier to read