enonic / cli-enonic

GNU General Public License v3.0
41 stars 2 forks source link

Reduce duplicated code and expose a function for getting the enonic home dir #571

Open eiriksm opened 1 month ago

eiriksm commented 1 month ago

This relates to #570

So if I wanted to make sure the directory was possible to override, I would first consolidate all different places the path to $HOME/.enonic was found.

Here is a first attempt to do that. Plus some actual tests for this repo