-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include --uri and --root options in command line documentation #4558
Comments
Thanks for bringing this up. Drush currently provides help about its global options via the The 2 improvements you mention sound OK - we'd have to decide which global options to list. There are too many to list them all IMO. Here is the output of
|
Making the |
Thanks for a fast response. I totally missed the text about
I agree that from the Topics list, |
The topic command appears in core:
I'll leave this open for the --uri option. |
Sure, there's just so much more, and like I wrote -- it is easily missed. Like I also wrote, much time has been spent on making the detailed and great documentation. So maximum exposure would both help the users, as well as you guys from answering questions which are already well-documented. But I respect your decision, and just sharing my 2 cents. |
I just came here because I was trying to find out what happened to the As it stands, with a fresh install of drush 10 running
Notice the |
jn:get is a drush core command (and it does belong IMO) and vbo-ececute comes from one of your modules. If that command declares a category it would not show up in the _global category |
So it is. I will open an issue on that module's issue queue. Thanks for the quick reply. |
Is your feature request related to a problem? Please describe.
It looks like the
--uri
and--root
options are not available via the command line documentation.With this command, you can see all available Drush commands:
drush list
To see options for a single command:
drush help uli
Neither
--uri
(drush uli --uri=https://example.org
) nor-l
(drush uli -l https://example.org
) options are shown.Also
drush search-api:index --uri=https://example.org
will work, but you can't see this underdrush help search-api:index
, since the--uri
option isn't listed.Describe the solution you'd like
Could we show global options, perhaps as a an extra section when issuing the
drush list
command, like Options?Alternatively, include them under Options, in the 'help' view of a single command:
The text was updated successfully, but these errors were encountered: