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

Need to run some checks before generating boilerplate files #2

Open
CodeSadhu opened this issue Dec 19, 2023 · 0 comments
Open

Need to run some checks before generating boilerplate files #2

CodeSadhu opened this issue Dec 19, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CodeSadhu
Copy link
Owner

Startify needs to first check whether the files and/or folders that it is about to generate already exist. If not, proceed with generation. If yes, pass these scenarios:

  1. If folder exists (eg. utils), the files that are normally generated under the utils folder should be generated in the one that already exists
  2. If the file exists (eg. utils/colors.dart), skip the creation of the file and display a message stating the skipped file name.
@CodeSadhu CodeSadhu added enhancement New feature or request good first issue Good for newcomers labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant