Motivation
If the user wishes to use slumber in a directory where a slumber.yaml file is not present, slumber will fail to start with an error unless the user specifies the location manually. This is inconvenient unless the user happens to be working in the same directory that their slumber.yaml is defined.
Feature Description
Allow slumber to check the current directory as it currently does, but instead of terminating on failing to find the config file in the current directory, check the parent directories in order until the root is reached (upon which slumber terminates) or a slumber.yaml is found.
Prior Art
dotenvy
Note
As the location of the detected config file may be less apparent to the user, I suggest adding a diagnostic message at the bottom of the TUI declaring the location of the slumber.yaml file which was detected, similar to when slumber reloads upon detecting a change to the config file.
[13:33:11] Loaded collection from /user/abcdefghi/slumber.yaml
Motivation
If the user wishes to use slumber in a directory where a
slumber.yamlfile is not present, slumber will fail to start with an error unless the user specifies the location manually. This is inconvenient unless the user happens to be working in the same directory that theirslumber.yamlis defined.Feature Description
Allow slumber to check the current directory as it currently does, but instead of terminating on failing to find the config file in the current directory, check the parent directories in order until the root is reached (upon which slumber terminates) or a
slumber.yamlis found.Prior Art
dotenvy
Note
As the location of the detected config file may be less apparent to the user, I suggest adding a diagnostic message at the bottom of the TUI declaring the location of the
slumber.yamlfile which was detected, similar to when slumber reloads upon detecting a change to the config file.