From d29cfde26770e3ab5ee876e76fdf86e6f53076ab Mon Sep 17 00:00:00 2001 From: Shelby Holden Date: Tue, 25 Jul 2023 11:41:59 -0400 Subject: [PATCH] Add comments update comment --- cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java | 2 ++ cli/src/main/java/bio/terra/pfb/PfbVersion.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java b/cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java index d120c324..09d85be4 100644 --- a/cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java +++ b/cli/src/main/java/bio/terra/pfb/JavaPfbCommand.java @@ -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(); diff --git a/cli/src/main/java/bio/terra/pfb/PfbVersion.java b/cli/src/main/java/bio/terra/pfb/PfbVersion.java index 0866c4f5..55135fa7 100644 --- a/cli/src/main/java/bio/terra/pfb/PfbVersion.java +++ b/cli/src/main/java/bio/terra/pfb/PfbVersion.java @@ -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}; } }