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

Allow multiple values for --field options in wp plugin list #159

Open
priscillamc opened this issue Mar 7, 2019 · 3 comments
Open

Allow multiple values for --field options in wp plugin list #159

priscillamc opened this issue Mar 7, 2019 · 3 comments

Comments

@priscillamc
Copy link

It's not possible to use multiple values in the --field option to customize wp plugin list.

For example, it would be helpful to be able to do the example command below:

wp plugin list --name=example-plugin1,example-plugin-2

This should only show the info for the plugins in the list, not all of the plugins.

@schlessera
Copy link
Member

Correct, this is not possible. The main issue with a mechanism like that is the actual "user interface". If you use a comma for separating values, for example, you cannot have a comma in a value you're looking for anymore.

I wonder if the comma is actually useful in any of the fields here...?

@Sidsector9
Copy link
Member

Sidsector9 commented Feb 20, 2022

@schlessera how about limiting the --name argument to accept only plugin slugs? If we do that, we don't have to worry about commas. Maybe instead of --name, we can use --slug for semantic reasons.

@danielbachhuber
Copy link
Member

Related #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants