Open Riduidel opened 5 years ago
Well, no, cli.yaml
is the clap configuration file stored in the crate, so it is another file ...
Ah ok, I've found the error line there https://github.com/saschagrunert/git-journal/blob/13986cbaec041e3827c4ca21866bdc00807595f8/src/lib.rs#L114
Ah ok (again). When config.load(....)
is called, it looks for a .gitjournal.toml
in current directory or parents.
Do you think it would be possible to change the error message for something more "noob-friendly" like "Unable to load .gitjournal.toml from current directory or parents. Take a look at sample .gitjournal.toml in documentation" ?
When I use git journal on my windows box, I always have the following message displayed as first command
Is it because I have no
cli.yaml
file in my home dir ? (looking at the code, you seem to load that file at startup)