Hi Lucas,
We don’t currently have a specific built-in script to run something like that. You can use Clojure’s CLI to run the process from the command line:
clojure -Sdeps '{:deps {com.datomic/datomic-pro {:mvn/version "0.9.5697"}}}' -e '(require (quote [datomic.api :as d])) (d/get-database-names "datomic:dev://localhost:4334/*") (System/exit 0)'
That is admittedly not the prettiest option.
I’ve added “Built-in command-line support” for this kind of operation as a feature request in our Suggest Features portal