issues Search Results · repo:efstajas/validate-env language:TypeScript
Filter by
6 results
(68 ms)6 results
inefstajas/validate-env (press backspace or delete to remove)A CLI interface for the validation would be useful for integrating with CI.
Something like
$ validateEnv path/to/.env path/to/.env.template
enhancement
efstajas
- 1
- Opened on May 5, 2020
- #9
A synchronous version of the check would simplify the API and allow you to just drop in the function in your index.ts,
without messing with the current promise-based implementation. It would automatically ...
enhancement
efstajas
- Opened on May 3, 2020
- #6
Comments might be nice to give people default values or annotate a given env var.
Probably with # syntax like dotenv supports in real .env files.
enhancement
efstajas
- Opened on May 3, 2020
- #5
Probably by putting a question mark at the end:
FOOBAR=string?
that would mark the variable as optional, meaning it would pass if missing, but would be typechecked if present.
Requested by reddit user ...
enhancement
efstajas
- Opened on May 3, 2020
- #4
That way you won t have to go run your app multiple times to get all validation errors if there are many.
enhancement
efstajas
- Opened on May 3, 2020
- #2

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.