Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: customize the names of each flavor #680

Open
aalex opened this issue Mar 9, 2023 · 3 comments
Open

feat: customize the names of each flavor #680

aalex opened this issue Mar 9, 2023 · 3 comments
Labels
feature A new feature or request

Comments

@aalex
Copy link

aalex commented Mar 9, 2023

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

@aalex aalex added the bug Something isn't working as expected label Mar 9, 2023
@BeatriceMitchell BeatriceMitchell added feature A new feature or request and removed bug Something isn't working as expected labels Apr 4, 2023
@Isuru-Nanayakkara
Copy link

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

@sagnik-sanyal
Copy link

+1 for this feature

1 similar comment
@brad007
Copy link

brad007 commented Oct 4, 2023

+1 for this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request
Projects
Status: Backlog
Development

No branches or pull requests

5 participants