Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: cleanup config.rs #6

Merged
merged 1 commit into from
Feb 6, 2024
Merged

refactor: cleanup config.rs #6

merged 1 commit into from
Feb 6, 2024

Conversation

joshka
Copy link
Member

@joshka joshka commented Feb 6, 2024

  • 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

- 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
@kdheepak kdheepak merged commit 868769a into main Feb 6, 2024
@kdheepak kdheepak deleted the jm branch February 6, 2024 19:35
@kdheepak kdheepak mentioned this pull request Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants