@vuetronex/cli v0.1.1

Vuetronex CLI
Build beatiful Electron application with Vue JS, Vue Router, Knex JS, Bookshelf JS & Tailwind CSS. Run database queries right from the Vue Application.
Installation
Install this package globally.
$ npm i -g @vuetronex/cliUsage
Run: vex --help or vex to get all the command offered with this package.
Create Project
$ vex new project-nameCreate Pages
$ vex make:page ProductPage
Out:
Page Created: ProductPage.vueYou will find the created page inside: src/pages.
Create Components
$ vex make:component ProductItem
Out:
Page Component: ProductItem.vueYou will find the created component inside: src/components.
Create Models
$ vex make:model Product
Out:
Model Created: Product.jsYou will find the created model inside: models.
Optionally you can also use -m to make the migration as well.
Also, you can use -s to make the seeder at the same go.
Create Migrations
$ vex make:migration product
Out:
Migration Created: 132545626_products.jsYou will find the created migration inside: migrations.
Optionally, you can use -a flag if you want alter table migration.
Also, you can use -s to make the seeder at the same go.
Run Migrations
$ vex migrateRollback Migrations
$ vex migrate:rollbackCreate Seeders
$ vex make:seed product
Out:
Seeder Created: 132545626_products.jsYou will find the created seeder inside: seeds.
Running the Seeds
$ vex seedTesting
Not done yet. Plans for future.
Contributing
Please feel free to contribute to this project to better improve this as a community. And also feel free to suggest any features.
Security
If you discover any security related issues, please email mailtokmahmed@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.