Skip to content

Commit

Permalink
Merge pull request #735 from HL7/do-20230802-gui-features
Browse files Browse the repository at this point in the history
Add options to IG Publisher UI
  • Loading branch information
grahamegrieve authored Aug 22, 2023
2 parents c32e056 + cec06c7 commit 0cb7fed
Show file tree
Hide file tree
Showing 5 changed files with 422 additions and 190 deletions.
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

0 comments on commit 0cb7fed

Please sign in to comment.