How do I run a Lein project in Clojure's new CLI tools version?

I have a Clojure project I started a couple of years ago.

It's all using Leiningen. With a project.clj file etc. And my code in src/myproj/blah.clj etc.

I now want to try using Clojure's new CLI tools.

I tried navigating into the root of this project directory and launching clj then typing (require '[myproj.blah :as blah])

But this throws a FileNotFoundException.

Can the CLI tools find code in a lein type file-structure and work with existing lein projects?

If not what's the procedure to adapt a lein project to use CLI tools?

1 answer