Metadata-Version: 2.4
Name: env-gen-cli-fregene
Version: 1.0.0
Summary: Safely generate zero-dependency .env.example template maps from configuration files
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# env-gen-cli

A zero-dependency command-line utility to safely generate .env.example templates from your secret local .env configuration files.

## Features

- Zero Dependencies: Built entirely with native Python core modules.
- Preserves Formatting: Keeps comments, spacing, and structural layout intact.
- Inline Comment Protection: Safely processes inline annotations without affecting keys.

## Installation

Clone the repository and perform an editable installation:

```bash
git clone https://github.com/fregenev/Environment-Template-Maker.git
cd env-gen-cli
pip install -e .
```

## Usage

Run the global command inside your project workspace:

```bash
# Basic run targets local .env file
env-gen

# Force overwrite existing templates without safety prompts
env-gen --force

# Use a custom source file name and specify custom output targets
env-gen --source .env.prod --output .env.template
```

## Running Tests

Execute the built-in diagnostic test suite locally:

```bash
python -m unittest discover -s tests
```
# Environment-Template-Maker
