Closed jschlatow closed 3 years ago
Taskopen 2.0 will ask the user before creating a config file with default values. Moreover, it will only create a config file if provided with the --config
option.
If no config file can be found. Taskopen will use hardcoded defaults.
An example config is found in examples/default
, which is installed in a system directoy and can be used by providing --config=/path/to/examples/default
.
Taskopen creates the default config file on its first execution. In situations where taskopen shall not be executed in the user's home environment (e.g. testing or packaging), the default config must be overriden with settings that do not reference $HOME. Although this is possible at the moment, it is not straightforward to obtain a config file without running taskopen in the first place.
In order to simplify the above use case, the following changes should be applied: