Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to IG Publisher UI #735

Merged
merged 9 commits into from
Aug 22, 2023
8 changes: 7 additions & 1 deletion org.hl7.fhir.publisher.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,13 @@
<artifactId>js-scriptengine</artifactId>
<version>${graalvm.version}</version>
</dependency>
<!-- TODO, figure out why this causes issues -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>compile</scope>
</dependency>
<!-- TODO, figure out why this causes issues -->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.jgit</groupId>-->
<!-- <artifactId>org.eclipse.jgit</artifactId>-->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package org.hl7.fhir.igtools.publisher;

public class CliParams {
public static String getNamedParam(String[] args, String param) {
boolean found = false;
for (String a : args) {
if (found)
return a;
if (a.equals(param)) {
found = true;
}
}
return null;
}

public static boolean hasNamedParam(String[] args, String param) {
for (String a : args) {
if (a.equals(param)) {
return true;
}
}
return false;
}
}
Loading
Loading