bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

`rebel-readline` global as at $HOME/.lein/profiles.clj troubleshooting #207

Open touxstone opened 4 years ago

touxstone commented 4 years ago

Hi, nice people. Would anyone know to tell what I am doing wrong? I'd appreciate it. I got the following script as $HOME/.lein/profiles.clj

{
 :user {:dependencies [[com.bhauman/rebel-readline "0.1.4"]]
        :aliases {"rebl" ["trampoline" "run" "-m" "rebel-readline.main"]}}

 }

but whenever I call it by $ lein rebl I got the following output: (It is not supposed being a global call for rebel-readline helper to repl)? ($ lein repl rather, works as expected)

Couldn't find project.clj, which is needed for [trampoline run -m rebel-readline.main]
vemv commented 3 years ago

Couldn't find project.clj indicates that you didn't run your lein rebl command inside a Lein project. Did you try that?