Replies: 1 comment 2 replies
-
Hey @not4rt, Yes, you can customize generated files using template overrides. Just run: cargo loco generate override --help All the supported templates that you can overrides:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that the model template is used for generating the migration file. However, I’m specifically looking to customize the model file that gets generated in the src/models directory.
Is it possible to customize the src/models/*.rs file with a template? If so, how can I achieve that?
Beta Was this translation helpful? Give feedback.
All reactions