flconf 1.0.4 copy "flconf: ^1.0.4" to clipboard
flconf: ^1.0.4 copied to clipboard

discontinued

A dart command line tool to help run flutter apps easily from different config sets. Handy tool for running seperate environments for debug and release versions.

flconf CLI tool #

This dart CLI tool makes it easy to run your flutter apps from different configuration sets. It can be used to differentiate development and production environments, or to build multiple apps with different native configurations (bundle ids, names, application ids) from single codebase.

How it works? #

flconf reads the configuration from the config files, and passes the variables to the flutter commands using --dart-define.

Get started #

Install flconf:

dart pub global activate flconf

Initialize flconf:

flconf init <configname1> <configname2>

Generate boilerplate dart code at lib/generated/flconf.dart:

flconf generate

Run the app using a configuration:

flconf run <configname>

Example #

The following command will create dev.json and prod.json inside flconf folder at the root of the project:

flconf init dev prod

You can then run from one of these configs:

flconf run dev
3
likes
0
pub points
0%
popularity

Publisher

verified publishermankeli.co

A dart command line tool to help run flutter apps easily from different config sets. Handy tool for running seperate environments for debug and release versions.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path

More

Packages that depend on flconf