introduce WP_CLI::get_value_from_arg_or_stdin() utility

... and use it in CommandWithMeta