radlinskii / donkeytype

typing test TUI app
MIT License
17 stars 15 forks source link

Feature Request: Allow Custom Storage Locations for `save_results` #47

Closed lemorage closed 1 year ago

lemorage commented 1 year ago

Currently, the save_results flag stores the results to ~/.local/share/donkeytype by default. It would be better to let the user customize the default location.

Proposed Solution:

  1. Introduce a new option, say --results-path, where users can provide their preferred storage location. If this option isn't set, the program can fall back to the default location.

  2. Alternatively, we could modify the save_results flag to accept an optional argument that specifies the storage location. If the argument isn't provided, it defaults to the current behavior.

WindowGenerator commented 1 year ago

Can I take this issue or @lemorage u want to do it?

lemorage commented 1 year ago

@WindowGenerator Oh no no, I'm just suggesting it, you go for it.