CLI Options
Most commands read defaults from .lazyenv/config.json and let you override them with flags.
Resolution Rules
Section titled “Resolution Rules”- If you pass a flag (like
--store), it overrides.lazyenv/config.jsonfor that command. - If you omit
--project, lazyenv usesprojectIdfrom.lazyenv/config.json. - If you omit
--env, lazyenv usesdev(or your configured environments, depending on the command).
Common Options
Section titled “Common Options”| Option | Meaning |
|---|---|
--store <store> | Secret store (infisical, doppler, bitwarden, onepassword) |
-p, --project <id> | Project ID/slug (store-dependent) |
-e, --env <name> | Environment name |
-f, --folder <path> | Target a specific workspace folder |
-y, --yes | Auto-confirm prompts / use defaults where possible |
--non-interactive | Fail instead of prompting (useful in CI) |
--all-environments | Apply the operation to all configured environments |
--force | Skip confirmation prompts (destructive operations) |
Output Options
Section titled “Output Options”Some commands support structured output for scripting:
| Option | Meaning | Commands |
|---|---|---|
--json | Print JSON instead of text | list, get |