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: add filename_style configuration option #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Shaglock
Copy link
Contributor

Background 📜

I wanted to use different filename convention but could only change prefix.

Description 📖

Added the filename_style configuration option. This option allows users to configure the filename style for the generated files. The default value is :camel, which converts the controller name to CamelCase and appends the file suffix. Also added support for a new style, :kebab, which converts the controller name to kebab-case and appends the file suffix in lowercase. This provides users with more flexibility in choosing the filename convention that best suits their needs.

Honestly wasn't able to see vitepress preview since I don't have node, but should be fine I guess, let me know if I need to correct anything.

Add the `filename_style` configuration option. This option allows users to configure the filename style for the generated files. The default value is `:camel`, which converts the controller name to CamelCase and appends the file suffix. Also added support for a new style, `:kebab`, which converts the controller name to kebab-case and appends the file suffix in lowercase. This provides users with more flexibility in choosing the filename convention that best suits their needs.
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