Skip to content

Commit 6d64349

Browse files
authored
Update README.md
forgot something in the readme
1 parent 2ac40dc commit 6d64349

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ test.addCommand("hello", Example::hello); //add commands (hello is a static meth
1919
test.addCommand("param", Example::param);
2020
```
2121

22+
the terminal inherit the java Thread class so you can lanch the App like a thread
23+
24+
```java
25+
test.start();
26+
```
27+
2228
commands recieve 3 parametters :
2329
1. the full command line with the command name and all the potential parameter of the commands
2430
2. the Scanner instance of the TerminalApp in case more informations are needed from the user

0 commit comments

Comments
 (0)