Skip to content

Commit

Permalink
refactor: introduce sub commands
Browse files Browse the repository at this point in the history
Signed-off-by: Aman Prashant <aman.prashant@broadcom.com>
  • Loading branch information
ap891843 authored and ishche committed Jun 14, 2024
1 parent 1bff980 commit 4b9cde6
Show file tree
Hide file tree
Showing 7 changed files with 759 additions and 499 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@
import ch.qos.logback.core.ConsoleAppender;
import com.google.inject.Guice;
import com.google.inject.Injector;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import lombok.NonNull;
import org.eclipse.lsp.cobol.cli.Cli;
import org.eclipse.lsp.cobol.cli.command.Cli;
import org.eclipse.lsp.cobol.domain.modules.DatabusModule;
import org.eclipse.lsp.cobol.domain.modules.EngineModule;
import org.eclipse.lsp.cobol.domain.modules.ServiceModule;
Expand All @@ -33,15 +41,6 @@
import org.slf4j.LoggerFactory;
import picocli.CommandLine;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;

/**
* This class is an entry point for the application. It initializes the DI context and runs the
* server to accept the connections using either socket on LSP_PORT or pipes using STDIO. After the
Expand Down
Loading

0 comments on commit 4b9cde6

Please sign in to comment.