Skip to content

Commit 978b208

Browse files
committed
chore: updated class name to reflect purpose
1 parent c17ae3a commit 978b208

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/main/java/org/codejive/jpm/Main.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
mixinStandardHelpOptions = true,
3737
versionProvider = Version.class,
3838
description = "Simple command line tool for managing Maven artifacts",
39-
subcommands = {Main.Copy.class, Main.Sync.class, Main.Install.class, Main.PrintPath.class})
39+
subcommands = {
40+
Main.Copy.class,
41+
Main.Search.class,
42+
Main.Install.class,
43+
Main.PrintPath.class
44+
})
4045
public class Main {
4146

4247
@Command(
@@ -78,7 +83,7 @@ public Integer call() throws Exception {
7883
description =
7984
"Finds and returns the names of those artifacts that match the given (partial) name.\n\n"
8085
+ "Example:\n jpm search httpclient\n")
81-
static class Sync implements Callable<Integer> {
86+
static class Search implements Callable<Integer> {
8287
@Mixin QuietMixin quietMixin;
8388
@Mixin CopyMixin copyMixin;
8489

0 commit comments

Comments
 (0)