Skip to content

Adds template command for .env.template generation#3

Merged
amannirala13 merged 3 commits intomainfrom
cli/logger
Oct 19, 2025
Merged

Adds template command for .env.template generation#3
amannirala13 merged 3 commits intomainfrom
cli/logger

Conversation

@amannirala13
Copy link
Owner

Introduces a new envg template command that generates a .env.template file. This command simplifies the documentation of environment variables for projects utilizing EnvGuard.

The generated file lists all required and optional secret keys from the EnvGuard manifest. It provides a clear blueprint for necessary configurations, allowing teams to version control their environment structure without compromising sensitive data.

  • Generates a .env.template file with placeholders for all configured secrets.
  • Clearly distinguishes between required and optional variables.
  • Includes a --force option to overwrite existing .env.template files.
  • Bumps the @envguard/cli package version to 0.1.3.

amannirala13 and others added 3 commits October 20, 2025 00:03
Add envg template command to generate .env.template from manifest:
- Generates template with all required and optional variables
- Required vars uncommented, optional vars commented
- Use --force to overwrite existing template
- Auto-documents environment variables for version control

Usage:
  envg template           # Generate .env.template
  envg template --force   # Overwrite existing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Updates the CLI package to version 0.1.3, likely incorporating new features and improvements related to logger integration.
Merge pull request #1 from amannirala13/cli/logger
@amannirala13 amannirala13 self-assigned this Oct 19, 2025
@amannirala13 amannirala13 merged commit 34f7e17 into main Oct 19, 2025
2 of 3 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