Unnecessary verbose dotfile
i would recomend to hold a dot file with a simpler, more manageable way (think wgetrc or vimrc). Having a ~/.putiocli might do the trick just as well.
Can you explain what is too verbose about it, please? It seems to capture the minimum of information.
Sorry I just think a a directory was unnecesary, also seems off that the path is hardcoded in the code. Should be loaded off some variable at the top of the script IMHO.
Ah, so it's the path that's a problem? I guess ~/.config/putiocli might be acceptable, but I was following the XDG Base Directory Specification when putting it in ~/.config/.
You're definitely right that the path should be loaded from a variable. It should also honor $XDG_CONFIG_HOME rather than always using a hardcoded value.