Skip to content

docs: add --env-file / -e flag documentation and examples#46

Merged
seanseannery merged 1 commit intomainfrom
docs/env-file-flag-examples
Mar 9, 2026
Merged

docs: add --env-file / -e flag documentation and examples#46
seanseannery merged 1 commit intomainfrom
docs/env-file-flag-examples

Conversation

@seanseannery
Copy link
Owner

Key Changes

  • Added --env-file / -e row to the flags reference table and a new "Injecting Secrets with --env-file" subsection in README.md covering usage, .ops_secrets.env default, env-scoped keys, .gitignore recommendation, --dry-run caveat, and flag-position constraint
  • Added -e usage comment blocks to Opsfile_baremetal, Opsfile_local, and Opsfile_azure examples showing how to inject credential-like variables
  • Updated docs/site/index.html flags table and "Secrets-Safe by Design" feature card to mention the -e flag

Why do we need this?

Follow-on documentation for the --env-file feature shipped in #45. User-facing docs and examples were not included in that PR.

New modules or other dependencies introduced

None.

How was this tested?

Documentation-only changes — no Go files modified.

@seanseannery seanseannery merged commit 9aed9c6 into main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant