ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

Add "--cache" And "--config" Flags

Open p0da opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently the cache and config are held in $XDG_CACHE_HOME and $XDG_CONFIG_HOME respectively. However there seems to be no way to ensure that they are kept separate at custom locations specified on the CLI as the "basepath" flag combines them into one directory. Would you consider either replacing basepath with config and cache flags or adding config and cache flags that specify the path to the respective files? It seems like this was the intent in https://github.com/hrkfdn/ncspot/issues/65#issuecomment-488808239 but it instead resulted in --basepath.

Describe the solution you'd like Add --cache and --config.

p0da avatar Aug 16 '22 03:08 p0da

it would be nice to move userstate.cbor to cache home too :eyes:

anuramat avatar Apr 10 '24 02:04 anuramat