} else if (panel.useWpCli()) {
try {
// params
ArrayList<String> params = new ArrayList<String>(2);
WordPressOptions options = WordPressOptions.getInstance();
String locale = options.getWpCliDownloadLocale();
if (!StringUtils.isEmpty(locale)) {
params.add(String.format(WordPressCli.LOCALE_PARAM, locale));
}
String version = options.getWpCliDownloadVersion();
if (!StringUtils.isEmpty(version)) {
params.add(String.format(WordPressCli.VERSION_PARAM, version));
}
// run