Closed rvesse closed 2 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
airline-core/src/main/java/com/github/rvesse/airline/restrictions/factories/RequireFromRestrictionFactory.java | 9 | 10 | 90.0% | ||
airline-core/src/main/java/com/github/rvesse/airline/restrictions/options/RequiredUnlessEnvironmentRestriction.java | 20 | 23 | 86.96% | ||
<!-- | Total: | 42 | 46 | 91.3% | --> |
Totals | |
---|---|
Change from base Build 598: | 0.2% |
Covered Lines: | 5681 |
Relevant Lines: | 7882 |
Provides a new restriction annotation that makes an
@Option
/@Argument
annotated field required only if suitable environment variable(s) are not set