-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #735 from HL7/do-20230802-gui-features
Add options to IG Publisher UI
- Loading branch information
Showing
5 changed files
with
422 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/CliParams.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
Oops, something went wrong.