threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
634 stars 29 forks source link

Interactive commands should not require an array #215

Closed quoll closed 2 years ago

quoll commented 2 years ago

The interactive feature on the command line only responds to a Clojure/EDN object. This means that it needs an array, like code does. This isn't appropriate for an interactive mode.

One approach is to simply wrap the entered string in brackets before reading (assuming the first character is not a bracket already).