infinitered/ignite

Add a `destroy` command

Open

#1 208 ouverte le 14 déc. 2017

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)TypeScript (1 342 forks)batch import
Hacktoberfestenhancementhelp wanted

Métriques du dépôt

Stars
 (16 168 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur