Referencesince 1.0.0-alpha.3
penv gen
Write the typed file for a language target
Write the typed file for a language target.
Usage
penv gen [--out <out>] [--check] [--options] [target]Every command also takes the global options.
Arguments
| Argument | Required | What it is |
|---|---|---|
[target] | no | The target name, such as ts or py; omit it to list the targets. |
Flags
| Flag | What it does |
|---|---|
--out <out> | Write here instead, relative to the repository root. |
--check | Compare with what is on disk instead of writing. |
--options | Show what this target's options change instead of writing. |
Exit codes
| Code | Name | What it means |
|---|---|---|
0 | ok | The command did what it says. |
1 | error | Something went wrong. |
3 | validation | The schema or the values did not pass. |
Related
penv schema: Print the schema as JSON.penv init: Read .env, write .env.schema, and keep .env out of the repository.- The .env.schema format