Replies: 1 comment
-
Hi @maicol07 this is definitely a cool idea, but it feels a bit overkill. For a module, it could easily delete classes, but identifying the migration file to delete feels like a hack. if you're using capsules, deleting a module is about dropping a single folder, so the command would feel unnecessary. Same for blocks, they are a single file. I wouldn't discard a clean PR that does it, but it's not something I think we should spend time on on our end. Something we've been feeling like we could need, would be a rename module/capsule command. But even that, we haven't felt like we really needed it that much to invest time into. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Currently, we can generate modules, blocks, capsules, ... via
php artisan twill:make:<type>
but we can't delete them via CLI.Describe the solution you'd like
A mirror command to delete the generated files and DB tables.
Example:
Beta Was this translation helpful? Give feedback.
All reactions