voo_env_generator 0.1.0 copy "voo_env_generator: ^0.1.0" to clipboard
voo_env_generator: ^0.1.0 copied to clipboard

discontinuedreplaced by: voo_config_generator
SDKDart

Code generator for voo_env package. Generates typed, optionally obfuscated environment variable classes at build time.

voo_env_generator #

pub package

Code generator for the voo_env package. This package should be added as a dev_dependency.

Installation #

dependencies:
  voo_env: ^0.1.0

dev_dependencies:
  voo_env_generator: ^0.1.0
  build_runner: ^2.4.0

Usage #

See the voo_env package for complete documentation.

Quick Start #

  1. Create a .env file in your project root
  2. Create an env class with @VooEnv annotation
  3. Run dart run build_runner build

Build Configuration #

You can configure the builder via build.yaml:

targets:
  $default:
    builders:
      voo_env_generator|voo_env:
        options:
          path: .env.production

License #

MIT License - see LICENSE file for details.

0
likes
140
points
201
downloads

Publisher

verified publishervoostack.com

Weekly Downloads

Code generator for voo_env package. Generates typed, optionally obfuscated environment variable classes at build time.

Homepage
Repository (GitHub)
View/report issues

Topics

#code-generation #build-runner #env #environment

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, source_gen, voo_env

More

Packages that depend on voo_env_generator