Hi! Really sorry there isn't a CLI; I had a lot of schoolwork and didn't have time to finish one (although it's very easy to use with curl)
Start the server with .\gradlew run (requires Java 17)
REST endpoints:
200 if keyword is present; 404 otherwise.
curl host:4567/hello
-> Exact match for {hello} present
Returns a list of completions of word
; if word is not present, empty list
curl host:4567/hell/completions
-> [o]
Adds a word; 204 if already present, 201 if added.
curl -XPOST host:4567/hello
-> {hello} already present.
404 if keyword not present to begin with; otherwise, returns 200 if successfully deleted.
curl -XPOST host:4567/hello
-> Removed word
Returns the tree in string form