Skip to content

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.
@xadizx
Copy link

xadizx commented Aug 31, 2025

Any chance this will be merged soon?

@Shaglock
Copy link
Contributor Author

Hi @xadizx I am not sure :D
@ElMassimo do you have any thoughts about this changes?

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.

2 participants