option: read value from STDIN if second parameter is missing
use fgets() instead of file_get_contents()
introduce WP_CLI::get_value_from_arg_or_stdin() utility
use WP_CLI::get_value_from_arg_or_stdin() in CommandWithMeta