I want to use a config file to set seed task's options, like bellow:
sequelize db:seed:all --config ./config/sequelize.js
I expected that the CLI would use config options from the file ./config/sequelize.js but, if the file .sequelizerc exists, the option --config is ignored and the configuration is loaded from .sequelizerc. I'm using the following versions:
- Node: 8.9.3
- CLI: 3.2.0
- ORM: 4.28.6
Shouldn't the options --config override the .sequelizerc file?
I want to use a config file to set seed task's options, like bellow:
I expected that the CLI would use config options from the file
./config/sequelize.jsbut, if the file.sequelizercexists, the option--configis ignored and the configuration is loaded from.sequelizerc. I'm using the following versions:Shouldn't the options
--configoverride the.sequelizercfile?