infinitered/ignite

Add a `destroy` command

Open

#1,208 创建于 2017年12月14日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)TypeScript (1,342 fork)batch import
Hacktoberfestenhancementhelp wanted

仓库指标

Star
 (16,168 star)
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

贡献者指南