Open
Description
Given a command like:
wp option patch update gglcptch_options login_form 0
run on a non interactive shell (like through atd/crod/puppet exec) we receive an Error:
Error: No data exists for key "0"
if we run the same program through the command line everything works fine.
Taking a look at the code here
https://github.com/wp-cli/entity-command/blob/v1.2.0/src/Option_Command.php#L525
and trying the command:
echo 1 | wp option patch update gglcptch_options login_form
gave us the expected results even in atd/crod/puppet exec shells.