env_builder_cli 1.0.0+1
env_builder_cli: ^1.0.0+1 copied to clipboard
A Flutter CLI tool to automate the creation and maintenance of the env Flutter package from multiple .env files.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate env_builder_cli
Use it
The package has the following executables:
$ env_builder
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add env_builder_cli
With Flutter:
$ flutter pub add env_builder_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
env_builder_cli: ^1.0.0+1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:env_builder_cli/env_builder_cli.dart';