infinitered/ignite

Add a `destroy` command

開放

#1,208 建立於 2017年12月14日

 (6 則留言) (0 個反應) (0 位負責人)TypeScript (1,342 個分叉)batch import
Hacktoberfestenhancementhelp wanted

倉庫指標

星標
 (16,168 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南