tealdeer-rs / tealdeer

A very fast implementation of tldr in Rust.
https://tealdeer-rs.github.io/tealdeer/
Apache License 2.0
4.17k stars 123 forks source link

Create cache directory path if it does not exist #174

Closed SimplyDanny closed 3 years ago

SimplyDanny commented 3 years ago

This PR tries to resolve #167. If TEALDEER_CACHE_DIR is set but does not exist, the complete path is just created as suggested in the issue. The user will be informed about the creation.

niklasmohrin commented 3 years ago

@dbrgn Any chance you can take a quick look at https://github.com/dbrgn/tealdeer/pull/174#discussion_r619826554 so this can move forward? :^)