Skip to content
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

Autocomplete --url #5704

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Autocomplete --url #5704

wants to merge 1 commit into from

Conversation

iandunn
Copy link
Contributor

@iandunn iandunn commented Nov 18, 2022

This is a continuation of #5675, which was closed by the history purge. There's discussion there about where it left off.


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?

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)
1 participant