diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-23 14:04:42 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-09-05 11:35:28 -0700 |
commit | b4b7605e1f947ef0c58d94354c10fd74fd010a53 (patch) | |
tree | fec9d30417cb91f92f4e2e67e151d2ad9c3517ec /src/tests/status.rs | |
parent | 88b243bca17ab549342738bce98a1c678f98e754 (diff) | |
download | nitrocli-b4b7605e1f947ef0c58d94354c10fd74fd010a53.tar.gz nitrocli-b4b7605e1f947ef0c58d94354c10fd74fd010a53.tar.bz2 |
Use envy to parse environment variables for Config
This patch uses the envy crate to parse the environment. A variable
NITROCLI_KEY can be used to overwrite the configuration for *key*. This
has the side effect that the NITROCLI_NO_CACHE variable is evaluated as
a boolean variable (instead of only checking whether it is set). We
also accept two new variables, NITROCLI_MODEL and NITROCLI_VERBOSITY.
Diffstat (limited to 'src/tests/status.rs')
0 files changed, 0 insertions, 0 deletions