Check for wp-cli before executing commands.