Added tab-completion and cli-arguments

This commit is contained in:
Cametendo
2026-04-22 22:12:33 +02:00
parent 5fd53af017
commit d0d239e0ca
10 changed files with 223 additions and 85 deletions

View File

@@ -1,7 +1,12 @@
package org.cametendo;
import java.util.Scanner;
public class Greeting {
public static void greeting() {
public static void greeting(Scanner UserInput) {
System.out.println("Welcome to cflash!");
System.out.println("Would you like to flash an image (Y/n)");
UserInput.nextLine();
}
}