infinitered/ignite

Add a `destroy` command

Offen

#1.208 geöffnet am 14.12.2017

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.342 Forks)batch import
Hacktoberfestenhancementhelp wanted

Repository-Metriken

Stars
 (16.168 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide