Skip to content

Commit

Permalink
Fixes #254 - Add version command to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Jun 18, 2024
1 parent fcda92a commit e4a8a89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cli/src/main/java/com/manorrock/sphynx/cli/Cli.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ private void execute(String[] arguments) {
case "execute" -> executeWorkflow(arguments);
case "java" -> new JavaCli().execute(arguments);
case "list" -> listWorkflows();
case "version" -> showVersion();
}
}
}
Expand Down Expand Up @@ -156,4 +157,11 @@ public static void main(String[] arguments) {
private void listWorkflows() {
System.out.println("NONE");
}

/**
* Show the version information.
*/
private void showVersion() {
System.out.println("TODO");
}
}

0 comments on commit e4a8a89

Please sign in to comment.