-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to set api_key using env variable and command line option #26
Comments
Hey, thanks for asking! You had a cli option although a bit limited: instead of Line 243 in 91943a6
The issue was that it wasn't running the command in a shell so the syntax to read environment variable didn't work. More context here: rust-lang/rust#95400 (comment) In the end I just released 1.5.0 and made switch from just running the command to actually using the shell. The potential issue is it requires an installed and working Anyway, now you're able to use
which should solve your issue 🙂 |
This doesn't work:
But this works:
Perhaps you could adapt shell to use ComSpec=C:\Windows\system32\cmd.exe |
@johnd0e, this is expected, as it's That said, now that I started writing different code for windows and unix I might as well go all the way, try version 1.7.0 Let me know if it works are intended this time! |
You are right, that works on my system |
Great! Can you tell me if the windows syntax It should after |
1.7.0 is ok, thanks |
No description provided.
The text was updated successfully, but these errors were encountered: