infinitered / infinitered/ignite
Add a `destroy` command
- Dominant language
- TypeScript
- Stars
- 19.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
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
```
Contributor guide
Research direction
Start by tracing the existing `generate`/`g` command and the plugin behavior that creates the example files. Define how `destroy`/`d` should identify generated files, then verify the sample flow removes both listed files and reports the results shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100