Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Versions
deno-envconf
An interactive command line interface for setting up and syncing env files based on a template.
Usage
Requirements
# create or sync environment variable files from template
deno run --allow-read --allow-write --allow-env https://deno.land/x/envconf/src/mod.tsConfiguration
# create a new config file
deno run --allow-read --allow-write --allow-env https://deno.land/x/envconf/src/mod.ts init| Field | Type | Description |
|---|---|---|
template |
string |
Template env file to create from. This can contain default values, which will be copied on create as-is |
output |
string |
The resulting output env file |
allow-empty |
string[] | undefined |
Environment variable keys that can be empty. When creating a new env file from the template, it will populate it as empty. |
force-prompt-on-create |
string[] | undefined |
Keys that are forced to be prompted for on creation, regardless of if it’s pre-filled or not. |
Note: To specify multiple configurations, copy the entire
[[file]]section Note:templateandoutputis relative to the configuration file
Development
deno task dev