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

Include documentation - list all installed languages including active #96

Open
1 task done
hoopering opened this issue Jul 15, 2020 · 2 comments
Open
1 task done

Comments

@hoopering
Copy link

hoopering commented Jul 15, 2020

Feature Request

Describe your use case and the problem you are facing

When I list languages:

  • I can filter installed with wp language core list --status=installed
  • I can filter active with wp language core list --status=active

but I cannot return all installed languages at once, based on the documentation available

wp language list --status!=uninstalled
wp language list --status=active,installed

Describe the solution you'd like

A 'list all installed languages' variation should be explicit in the docs for language-command

  • It is a common use-case to return *all* installed languages, especially with automation
  • Fetching results for installed and then active and then concatenating both is clumsy
  • I would like to reduce complexity and to use the closest-to-native approach
@schlessera
Copy link
Member

This should be solved in the same way we solved this for plugins and themes: wp-cli/extension-command#234

@kkoppenhaver
Copy link
Contributor

Taking a look at this one for WCUS (2024) Contributor Day!

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