Problem/Motivation
Currently VBO displays it's help in the global section after running `drush` to see the available commands.
$ drush
Drush Commandline Tool 10.4.3
Run `drush help [command]` to view command-specific help. Run `drush topic` to read even more documentation.
Available commands:
_global:
browse Display a link to a given path or open link in a browser.
drupal:directory (dd) Return the filesystem path for modules/themes and other key folders.
generate (gen) Generate boilerplate code for modules/plugins/services etc.
help Display usage details for a command.
jn:get Execute a JSONAPI request.
list List available commands.
mk:docs Build a Markdown document for each Drush command thats available on a site.
runserver (rs, serve) Runs PHP's built-in http server for development.
version Show Drush version.
views-bulk-operations:execute (vbo-execute, vbo-exec) Execute an action on all results of the specified view.
Steps to reproduce
If VBO declared a category this wouldn't be happening.
Proposed resolution
Declare the category "Views" to be listed with the rest of the view commands.
Remaining tasks
Do work
User interface changes
Drush help would show up in the Views Category
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3211494-5-drush_10_category.patch | 1.42 KB | fjgarlin |
Issue fork views_bulk_operations-3211494
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fjgarlin commentedPatch provided for this.
Comment #4
andypostIt may need alias to old command to not break lots of scripts
Comment #5
fjgarlin commentedGreat point @andypost. Added the alias to the old command in the patch now.
Comment #7
graber commentedNeeds a patch or PR on 3.x if anyone is interested.
Comment #8
tr commentedThis needs to be fixed:
use Drupal\Core\Entity\EntityTypeMAnagerInterface;The class loader will fail to find it on some operating systems if you don't capitalize it correctly.
Comment #10
graber commentedThank you @TR, good spot!
Comment #11
graber commentedSetting to "fixed" as 8.x-3.x is no longer supported.