This application converts models generated by sequelize auto to models accepted by hapi-sequelizejs.
npm install https://github.com/gary-x0pa/sequelize-auto2hapi-sequelizejs.git
Or use npx (see below)
hapiconvert --help
Alternatively you can use npx to avoid adding dependency
npx github:gary-x0pa/sequelize-auto2hapi-sequelizejs --help
This commands show you the arguments on how to use the script
This application converts models generated by sequelize auto to models accepted by hapi-sequelizejs
Options:
-V, --version output the version number
-i, --input <inputPath> input path for models generated from sequelize auto. (default: "./models")
-o, --output <outputPath> output path for models converted to use with hapi sequelize js. (default: "./convertedModels")
-h, --help display help for command