Open wisn opened 6 years ago
We have remove
for plugins but haven't yet built a way to remove generated files as it's usually easy enough to do it manually, but it's a good suggestion! 👍
Should this be boilerplate specific command since each boilerplate has its own file structure? @jamonholmgren
@adrianhartanto0 Yeah, you'd just copy and paste the generate
folder and make a destroy
folder (and commands/destroy/destroy.js
).
https://github.com/infinitered/ignite-bowser/tree/d0cae5484a96f4d686ab61c87428ec5749b194d6/commands
I'd wait a bit, though, as we're revamping that folder structure a bit right now.
Closing since Ignite does not contain plugins anymore
This would actually also apply to generators, which we do still have @frankcalise. (Honestly -- not very hard to implement either!)
@jamonholmgren so this would remove a model/screen/component that was once generated?
Ignite have a
generate
command which is producing an example file from plugin. The missing command isdestroy
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.