infinitered/ignite

Add a `destroy` command

Aperta

#1208 aperta il 14 dic 2017

 (6 commenti) (0 reazioni) (0 assegnatari)TypeScript (1342 fork)batch import
Hacktoberfestenhancementhelp wanted

Metriche repository

Star
 (16.168 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Ignite have a generate command which is producing an example file from plugin. The missing command is destroy which is remove a file that generated by the plugin. Not only add a new command, this will need to change the plugin behavior as well.

$ ignite g saga hello
✔︎ App/Sagas/HelloSagas.js
✔︎ Tests/Sagas/HelloSagaTest.js
$ ignite d saga hello
✘ App/Sagas/HelloSagas.js
✘ Tests/Sagas/HelloSagaTest.js

Guida contributor