@@ -26,12 +26,6 @@ Install the CLI globally using pub:
2626dart pub global activate env_builder_cli
2727```
2828
29- Or using the executable name:
30-
31- ``` bash
32- dart pub global activate env_builder
33- ```
34-
3529### Local Installation
3630
3731Add to your ` pubspec.yaml ` :
@@ -73,17 +67,20 @@ Generates environment packages from `.env` files:
7367env_builder build
7468
7569# Build with specific environment files
76- env_builder build --env-file=.env.dev ,.env.prod
70+ env_builder build --env-file=.env.development ,.env.production,.env.staging
7771
78- # Build with custom output directory
72+ # Build with custom output directory (default: env)
7973env_builder build --output-dir=custom_env
8074
75+ # Skip encryption of sensitive variables
76+ env_builder build --no-encrypt
77+
78+ # Show detailed output during build process
79+ env_builder build --verbose
80+
8181```
8282
8383** Planned Features:**
84- - ` --output-dir ` : Custom output directory (default: ` packages/env ` )
85- - ` --no-encrypt ` : Skip encryption of sensitive variables
86- - ` --verbose ` : Detailed output during build process
8784- ** Complex Data Types Support** : Handle JSON-like strings (e.g., ` APP_CONFIG={"theme":"dark","features":["chat","notifications"]} ` )
8885- ` --config-env-file ` : Specify a default configuration file for environment-specific settings
8986
@@ -217,7 +214,7 @@ To run the example:
217214cd example
218215flutter pub get
219216# The .env file already exists
220- env_builder build --env-file=.env
217+ env_builder build
221218flutter run
222219```
223220
0 commit comments