Closed cuducos closed 1 year ago
Maybe reading from an environment variable like
CHUNK_DIR
?
In addition, I suggest keeping it consistent with the other configuration params: Download.ProgressTrackerDir
and a command line parameter --progress-tracker-dir
. Or something like that.
38 added
~/.chunk
as the default directory for saving progress files. There's aTODO
to make it configurable:https://github.com/cuducos/chunk/blob/02999cdd7fd49644210e074e0e2ae3473e2af2c1/progress.go#L16-L28
Maybe reading from and environment variable like
CHUNK_DIR
?