Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
update comment
  • Loading branch information
snf2ye committed Jul 25, 2023
1 parent faaec30 commit 6c2deab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ public void run() {
System.out.println("PFB RUN");
}

// Example "hello world" command
@Command(name = "hello")
public void helloCommand() {
System.out.println("Hello world!");
}

// POC usage of java-pfb-library
@Command(name = "getNumber5")
public void getNumber5() {
int val = Library.getNumber5();
Expand Down
3 changes: 2 additions & 1 deletion cli/src/main/java/bio/terra/pfb/PfbVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

public class PfbVersion implements CommandLine.IVersionProvider {

// CLI_VERSION must be manually upgraded and resulting jar deployed to artifactory
// See cli/README for publishing instructions
private static final String CLI_VERSION = "0.1.0";

@Override
public String[] getVersion() {
// TODO: Figure out how to get the version from the settings.gradle
return new String[] {"${COMMAND-FULL-NAME} " + CLI_VERSION};
}
}

0 comments on commit 6c2deab

Please sign in to comment.