Lack of interest CLI cmd.php xf:addon-* batch process

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

ibnesayeed

Well-known member
Currently, all of the xf:addon-* commands work on one add-on at a time (except enable/disable which default to all when no ID is specified). I am proposing the following changes for ease and uniformity.
  • Allow a list of space separated add-on IDs to all the addon-* commands (like, xf:addon-* foo bar baz...).
  • Require an explicit flag to perform operations on all applicable add-ons (like, xf:addon-* --all or -a) and make it available to all add-on commands. An attempt without any IDs or this explicit flag should return a help message describing the two possible options.
  • When --all flag is used which has destructive affects, prompt for a [y/N] confirmation, unless a --yes or -y flag is also supplied.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom