Instead, to store config and log folders inside the source of the CLI, we store it outside so it persists after uninstall/update of the CLI. As said in this StackOverflow thread, it is a best practice to store these kinds of files in the system path according to the OS.
To do that there is this awesome npm package: sindresorhus/conf that take care to store these files for us in the right place, sindresorhus also mention that he made this package to let command-line tools persist some data, and this exactly what we want! :smile:
What changes this PR introduce?
Instead, to store config and log folders inside the source of the CLI, we store it outside so it persists after uninstall/update of the CLI. As said in this StackOverflow thread, it is a best practice to store these kinds of files in the system path according to the OS.
To do that there is this awesome npm package: sindresorhus/conf that take care to store these files for us in the right place, sindresorhus also mention that he made this package to let command-line tools persist some data, and this exactly what we want! :smile:
List any relevant issue numbers
Fixes #171