infinitered/ignite

Add a `destroy` command

Open

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

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

描述

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

贡献者指南

Add a `destroy` command · infinitered/ignite#1208 | Good First Issue