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

generate:model command added #12

Closed

Conversation

saracalihan
Copy link
Member

@saracalihan saracalihan commented Sep 22, 2021

Usage:
axe-api generate:model <name> [options]

# output
Models/<Name>.js has been created!

Example:

axe-api generate:model city  --hiddens --fillable --ignore --serialize --table --middlewares --handlers --primaryKey --validations

Screenshot_20210922_224919

Copy link
Member

@ozziest ozziest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked the feature. It is looking great and very helpful. I have a very tiny suggestion about it. Thanks a lot! 🥳

src/Commands/GenarateModel.js Outdated Show resolved Hide resolved
@ozziest ozziest closed this Jan 22, 2022
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