private RebarRunningStateUtil() {
}
public static GeneralCommandLine getRebarCommandLine(@NotNull RebarRunConfigurationBase configuration) {
Project project = configuration.getProject();
RebarSettings rebarSettings = RebarSettings.getInstance(project);
GeneralCommandLine commandLine = new GeneralCommandLine();
commandLine.setWorkDirectory(getWorkingDirectory(configuration));
commandLine.setExePath(rebarSettings.getRebarPath());
List<String> split = ContainerUtil.list(configuration.getCommand().split("\\s+"));
if (configuration.isSkipDependencies() && !split.contains("skip_deps=true")) {
commandLine.addParameter("skip_deps=true");
}