define_env 0.4.0 copy "define_env: ^0.4.0" to clipboard
define_env: ^0.4.0 copied to clipboard

Load variables from a `.env` file into a dart-define string and copy it to your IDE Config or to the clipboard.

0.4.0 #

  • Fixed: compatibility with melos scripts.
  • Added: Support for reading from stdin

0.3.1 #

  • Added: Generate Env Class from env file and env settings. Credits @BreX900
  • Added: define_env to executables path. No need to run pub global run always now

0.3.0 #

  • Added: env settings to validate your env file. Credits @BreX900

0.2.1 #

  • Fixed: Dart Define now skips empty variables from dart-define string

0.2.0+2 #

  • Fixed: Fix target file not found error in Android Studio when there are no retained arguments

0.2.0+1 #

  • Changed: Updated README and documentation.
  • Changed: Minor changes for future refactoring.

0.2.0 #

  • Added: Experimental Support for Android Studio Workspace and Run Configs.
  • Changed: Code Cleanup, Make it easier to add support for different type of config files in future if required.

0.1.1 #

  • Added: Example.
  • Fixed: Dart define variables should be enclosed in quotes if they have a whitespace.

0.1.0 #

  • Initial release.
18
likes
120
pub points
22%
popularity

Publisher

unverified uploader

Load variables from a `.env` file into a dart-define string and copy it to your IDE Config or to the clipboard.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, checked_yaml, code_builder, console, dart_style, dotenv, json_annotation, recase, xml, yaml

More

Packages that depend on define_env