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: Create folders from array #1113

Open
1 task
feinstein opened this issue Oct 15, 2023 · 2 comments
Open
1 task

feat: Create folders from array #1113

feinstein opened this issue Oct 15, 2023 · 2 comments
Labels
question Further information is requested waiting for response Waiting for additional information

Comments

@feinstein
Copy link

Description

It is common to have Flutter projects with many different platforms, such as Andrid, iOS, etc. and it would be nice to be able to select what platforms we want from an array, then generate only the folders that are contained in the array.

I tried to find an example on how to achieve this, but I couldn't find any, nor to come up with some mustache template to make it work.

Requirements

  • Create a folder only if the folder name is included in the variable array.
@felangel
Copy link
Owner

Hi @feinstein 👋
Check out the plugin brick https://github.com/felangel/mason/tree/master/bricks/plugin

I believe it does what you’re asking for. Let me know if that helps!

@felangel felangel added question Further information is requested waiting for response Waiting for additional information labels Oct 15, 2023
@feinstein
Copy link
Author

Hi @felangel, no it doesn't. In the Brick plugin I need to define 1 variable for each platform. But what I want is an array, where I can select the platforms using the keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested waiting for response Waiting for additional information
Projects
None yet
Development

No branches or pull requests

2 participants