wp-cli / language-command

Installs, activates, and manages language packs.
MIT License
13 stars 21 forks source link

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

Closed swissspidy closed 9 months ago

swissspidy commented 1 year ago

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.

abhi3315 commented 11 months ago

I am taking up this issue.

huzaifaalmesbah commented 11 months ago

I completely agree with this suggestion.

atoomic commented 11 months ago

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

atoomic commented 11 months ago

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.