cryogen-project / cryogen

A simple static site generator written in Clojure
http://cryogenweb.org/
Eclipse Public License 1.0
1.09k stars 96 forks source link

deps-new error when creating a new site #248

Closed cap10morgan closed 2 years ago

cap10morgan commented 2 years ago

When I run clojure -Sdeps '{:deps {io.github.cryogen-project/cryogen {:git/tag "0.6.6" :git/sha "fcb2833"}}}' -Tnew :template org.cryogenweb/new :name my/website after installing deps-new 0.4.3 as a tool named new (just like in your instructions; clojure -Ttools install com.github.seancorfield/deps-new '{:git/tag "v0.4.3"}' :as new) I get the following error and no site directory is created:

No function found on command line or in :exec-fn

This is with Clojure CLI 1.10.3.1040

seancorfield commented 2 years ago

It should be:

clojure -Sdeps '{:deps {io.github.cryogen-project/cryogen {:git/tag "0.6.6" :git/sha "fcb2833"}}}' -Tnew create :template org.cryogenweb/new :name my/website

create is missing.

yogthos commented 2 years ago

thanks for the fix 👍