diff --git a/src/Drifty_CLI.java b/src/Drifty_CLI.java index bbee6ac47..d322bc1ce 100644 --- a/src/Drifty_CLI.java +++ b/src/Drifty_CLI.java @@ -1,4 +1,7 @@ import java.net.URL; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.Objects; import java.util.Scanner; public class Drifty_CLI { @@ -10,6 +13,7 @@ public class Drifty_CLI { public static final String ANSI_PURPLE = "\u001B[35m"; private static boolean flag = false; private static String fName = null; + public static void main(String[] args) { logger.log("INFO", "Application Started !"); if (!flag) { @@ -23,6 +27,42 @@ public static void main(String[] args) { System.out.println(ANSI_PURPLE+"===================================================================="+ANSI_RESET); } flag = true; + if (args.length > 0){ + String URL = args[0]; + String name = null; + String location = null; + for (int i = 0; i \033[37;1mjava Drifty_CLI https://example.com/object.png -n obj.png -l C:/Users/example"+ ANSI_RESET ); + System.out.println("\033[37;3m* Requires java 18 or higher. \n"+ANSI_RESET); + } }