Run wpcli command on multiple output users
The following gets the meta “genesis_author_box_archive” and sets it to a value of “1” for the user with user id 2
wp user meta update 2 genesis_author_box_archive 1
The following outputs all of the user id values, and then runs the above command on all of them in sequence.
for USER_ID in $(wp user list –field=ID); do wp user meta update $USER_ID genesis_author_box_archive 1; done
reference for the looping: https://www.billerickson.net/code/mass-update-user-roles-using-wp-cli/