Skip to content

Option --config ignored when .sequelizerc exists #617

Description

@vgeorge

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions