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

fix: enforce snake case app name #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Pebkac03
Copy link

@Pebkac03 Pebkac03 commented Dec 14, 2024

Checks if app name is snake_case when running: stacked create app. Fixes Stacked-Org/stacked#1081.

  1. If app name is snake_case behaviour is unchanged.
  2. If app name is not snake_case then user is prompted with <originalAppName> is not snake_case as required by dart, did you mean <appName?> [Y/N]. If they answer yes then the app name will be changed, if they answer no then the program will throw and exit with the message: error: project name not snake_case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: app creation do not create android iOS and other code if name contains upper case letter
1 participant