From 96214504a77fae95d47147c77c91c11ec78f99fd Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Fri, 5 Jul 2024 17:58:08 -0500 Subject: [PATCH] Fixes #287 - Remove info command --- .../java/com/manorrock/sphynx/cli/Cli.java | 1 - .../com/manorrock/sphynx/cli/InfoCommand.java | 46 ------------------- 2 files changed, 47 deletions(-) delete mode 100644 cli/src/main/java/com/manorrock/sphynx/cli/InfoCommand.java diff --git a/cli/src/main/java/com/manorrock/sphynx/cli/Cli.java b/cli/src/main/java/com/manorrock/sphynx/cli/Cli.java index a05d081..5fefddd 100644 --- a/cli/src/main/java/com/manorrock/sphynx/cli/Cli.java +++ b/cli/src/main/java/com/manorrock/sphynx/cli/Cli.java @@ -42,7 +42,6 @@ DeleteCommand.class, ExecutionCommand.class, ExecuteCommand.class, - InfoCommand.class, ListCommand.class }, versionProvider = CliVersionProvider.class) diff --git a/cli/src/main/java/com/manorrock/sphynx/cli/InfoCommand.java b/cli/src/main/java/com/manorrock/sphynx/cli/InfoCommand.java deleted file mode 100644 index 87036ed..0000000 --- a/cli/src/main/java/com/manorrock/sphynx/cli/InfoCommand.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2002-2023 Manorrock.com. All Rights Reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holder nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -package com.manorrock.sphynx.cli; - -import java.util.concurrent.Callable; -import picocli.CommandLine; - -/** - * The info command. - * - * @author Manfred Riem (mriem@manorrock.com) - */ -@CommandLine.Command(name = "info", mixinStandardHelpOptions = true) -public class InfoCommand implements Callable { - - @Override - public Integer call() throws Exception { - System.out.println("TODO - info about a job"); - return 0; - } -}