Running boilerplate commands doesn't recognize the context #351
Labels
feature request
New feature request
improvement
Small improvement fixes, either readability or performance improvements
wpcli
Issues regarding WP-CLI
Describe your feature request
When running some CLI methods, I encountered two issues:
eightshift-libs/src/Main/MainExample.php
Lines 38 to 41 in 3c11801
(should be
plugins_loaded
hook).Describe the solution you'd like
The CLI commands should be aware of their context - where to create certain commands, or some parts of the example should be changed.
Also, noticed a lot of 'theme' strings in the CLI methods, which then looks odd if you use it in the plugin (and have to change this).
These should probably be modified using a placeholder that can be interchanged to
theme/plugin
.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
The text was updated successfully, but these errors were encountered: