docs: add todo for arguments

This commit is contained in:
Anthony Berg 2024-10-16 23:23:50 +02:00
parent b8b9d50541
commit 5fffaa6e45

View File

@ -2,6 +2,17 @@ import java.util.*;
public class Main {
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
List<String> data = ReadFile.open("example.txt");