I downloaded the .exe file from your current release, then I tried starting it from my PowerShell:
> .\onefetch.exe
thread 'main' panicked at 'Could not retrieve git configuration data', src\main.rs:183:19
note: Run with `RUST_BACKTRACE=1` for a backtrace.
I have no idea which kind of configuration data it needs (there's nothing in the README about this), but I guess this shouldn't happen anyway.
edit after reading your source code: So your software is limited to Git repositories? Why?
I downloaded the .exe file from your current release, then I tried starting it from my PowerShell:
I have no idea which kind of configuration data it needs (there's nothing in the README about this), but I guess this shouldn't happen anyway.
edit after reading your source code: So your software is limited to Git repositories? Why?
Correct, it only works with git repositories (for now). I rely on git to detect some of the project information (author(s), project name/url).
Sorry.
It still shouldn't crash. :-)
You're right, I replaced the panic! with: exit(1) + message.
It fails more gracefully now.
Hooray. (Thank you.)