Skip to content

Autocomplete --url (autoclosed by history purge)#5675

Closed
iandunn wants to merge 9883 commits intowp-cli:masterfrom
iandunn:autocomplete-urls
Closed

Autocomplete --url (autoclosed by history purge)#5675
iandunn wants to merge 9883 commits intowp-cli:masterfrom
iandunn:autocomplete-urls

Conversation

@iandunn
Copy link
Copy Markdown
Contributor

@iandunn iandunn commented Sep 15, 2022

This was closed by the history purge, and has been restarted in #5704.


Fixes #5256

This adds tab completion for the global --url parameter, to make it more convenient to type long URLs in Multisite environments.

> wp cron event list --url=foo
foo.example.org       foot.example.org      football.example.org

This is just a rough sketch at the moment. There are some unanswered questions, and I haven't even tried running the tests. I'd just like to get feedback on the general approach etc before putting too much time into it.

Are there any fundamental things that should change? Or does it basically look good and just needs to be finished?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide an easier way to specify target site (--url)