bcicen / slackcat

CLI utility to post files and command output to slack
http://slackcat.chat
MIT License
1.22k stars 57 forks source link

Create parent folders for configuration #51

Closed rauno56 closed 7 years ago

rauno56 commented 7 years ago

In some cases configuration folder might be missing a parent. This will avoid errors like:

failed to initialize config dir [/a/b/c/config]: mkdir /a/b/c/config: no such file or directory

in case b is missing for example.

I just had this problem because on my system /home/user/.config folder was missing, but default location for configuration is nested under it.

bcicen commented 7 years ago

merged; thanks @Rauno56!