infinitered/ignite

Add a `destroy` command

Aberta

#1.208 aberto em 14 de dez. de 2017

 (6 comentários) (0 reação) (0 responsável)TypeScript (1.342 forks)batch import
Hacktoberfestenhancementhelp wanted

Métricas do repositório

Stars
 (16.168 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador