very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

feat: customize the names of each flavor

Open aalex opened this issue 1 year ago • 4 comments

Description As a developer I want to be able to customize the names of each flavor of my app, so that it can fit my requirements and my workflow.

Criteria

  • By default, the flavors are: development, staging, production
  • I can specify some other names with the --flavors option
  • Its value should be a comma-separated string

Example This will create three flavors: free, pro and dev:

very_good create flutter_app my_app --flavors="free,pro,dev"

Additional features Optionally, it could be possible to create another number of flavors. For example: --flavors dev,staging,prod,free would create 4 flavors.

Again optionally, an empty string would disables flavors altogether.

See also

  • similar to #476
  • related to #482

aalex avatar Mar 09 '23 04:03 aalex

I second this. This is a really useful tool. Would be great if it had the option to define custom flavors too.

Isuru-Nanayakkara avatar May 13 '23 09:05 Isuru-Nanayakkara

+1 for this feature

sagnik-sanyal avatar Jul 15 '23 09:07 sagnik-sanyal

+1 for this feature

brad007 avatar Oct 04 '23 17:10 brad007

+1

Coffiie avatar Aug 23 '24 06:08 Coffiie