Add info about environment variables

This commit is contained in:
Alexey Golub
2020-01-29 19:30:41 +02:00
parent 8aa6911cca
commit 4e1ab096c9
3 changed files with 54 additions and 6 deletions

View File

@@ -291,6 +291,15 @@ namespace CliFx.Tests
TestAppName, "somerequired --option-f <value> [options]"
}
);
yield return new TestCaseData(
new[] {typeof(EnvironmentVariableCommand)},
new[] {"--help"},
new[]
{
"Environment variable:", "ENV_SINGLE_VALUE"
}
);
}
[TestCaseSource(nameof(GetTestCases_RunAsync))]