mirror of
https://github.com/smyalygames/kahoot-challenge-2025.git
synced 2025-12-03 09:57:56 +01:00
docs: add todo for arguments
This commit is contained in:
@@ -2,6 +2,17 @@ import java.util.*;
|
|||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
// Get commandline arguments
|
||||||
|
// Checks that only the file has been declared
|
||||||
|
|
||||||
|
// TODO Add arguments to read files from
|
||||||
|
// if (args.length != 1) {
|
||||||
|
// System.out.println("Invalid arguments, you need to define the text file to read from!");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// System.out.println(Arrays.toString(args));
|
||||||
|
|
||||||
// Get the data from the file
|
// Get the data from the file
|
||||||
List<String> data = ReadFile.open("example.txt");
|
List<String> data = ReadFile.open("example.txt");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user