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

Fixed name generation bug (issue #26) #27

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

Conversation

fsgreco
Copy link

@fsgreco fsgreco commented Jan 4, 2024

This PR will fix this issue #26

In doing so I also tried to standardize a little the component naming convention into PascalCase (either for the name of the file and the folder as well as the name of the function that it generates).

e.g this commands now will work without errors:

new-component a-component-with-hyphens # results in AComponentWithHyphens (folder,file and function name)
new-component a_component_with_underscores # results in AComponentWithUnderscores
new-component aCamelCaseComponent # results in ACamelCaseComponent
new-component "a component with spaces" # results in AComponentWithSpaces

@fsgreco fsgreco mentioned this pull request Mar 24, 2024
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.

1 participant