-
-
Notifications
You must be signed in to change notification settings - Fork 530
Open
Labels
Description
Description
Currently we must use --seed
tag to specify the name of the file we want to seed, it's pain because we must copy the filename and paste it, it's extra pain if we do that in some code editor like Vim with less efficient configuration.
I want to submit new feature for this.
Simply the new feature and the expected result would be like :
> npx sequelize-cli db:seed --name user-wallet
> choose one of the following [UP and DOWN arrow keys navigation then press enter to start seed, or press space for multi-select]
> 1. 20210824024142-user-wallet.js
> 2. 20210824024143-user-wallet.js
> 3. 20210824024144-user-wallet.js
Pros
- No need to deprecate the
--seed
option. - No need to copy paste seeder filename because it's such a pain
- Flexibel even with the same seeder name ( we depends on the time prefix to use around this command )
- Simpler usage
Cons
No cons found, maybe you can comment if there's any, i will edit the issue.
Tasks
- Create
--name
option with the expected result - Create the unit test for
--name
option