wp-cli / language-command

Installs, activates, and manages language packs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `--all` flag to `uninstall` commands

swissspidy opened this issue · comments

Feature Request

Describe your use case and the problem you are facing

The plugin install and theme install commands support --all to quickly install languages for all plugins/themes.

The uninstall commands don't support it.

Describe the solution you'd like

Adding this flag to the plugin install and theme install commands would make them more consistent.

I am taking up this issue.

I completely agree with this suggestion.

Currently at wcus and plan to work on this and see where I can go.
Feel free to reach me on slack Nicolas R. if you are also interested.

Thanks

I currently have a prototype branch setup using #124 to add --all to themes.

I also have the feeling that the -all wording can be confusing as one could expect --all-languages rather than --all-themes. We should probably implement both and preserve --all as --all-themes for backward compatibility.