Added javadoc, and fixed spelling errors.
This commit is contained in:
@@ -4,7 +4,17 @@ import me.zacharias.chat.api.APIServer;
|
||||
import me.zacharias.chat.core.LaunchOptions;
|
||||
import me.zacharias.chat.display.Display;
|
||||
|
||||
/**
|
||||
* The launcher for AI_chat.<br>
|
||||
* This is the main class of the application and is responsible for handling the command line arguments.
|
||||
*/
|
||||
public class Launcher {
|
||||
/**
|
||||
* The Entry point of the application.<br>
|
||||
* This is the main method of the application and is responsible for handling the command line arguments.
|
||||
* and adding them to the LaunchOptions instance.
|
||||
* @param args The command line arguments passed from JVM
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
LaunchOptions options = LaunchOptions.getInstance();
|
||||
@@ -42,10 +52,10 @@ public class Launcher {
|
||||
Launch options for AI_chat
|
||||
-h --help Provides this help message
|
||||
-s --server Starts the application as API server
|
||||
-p --port Provides the port number that the API server shuld use, defaults to 39075
|
||||
-p --port Provides the port number that the API server should use, defaults to 39075
|
||||
-o --output Redirects the API Server output to another file
|
||||
-y Auto accepts to prompts, used for a seamless run. Not recomended when running as Display
|
||||
-d --dontloadOld Don't load old messages
|
||||
-d --dontLoadOld Don't load old messages
|
||||
--api Provides API docs
|
||||
""");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user