Assuming you have installed deps-new
as your new
"tool" via:
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.9"}' :as new
Execute
clojure -Sdeps '{:deps {com.amithgeorge/app-template {:git/sha "e36daa1e939260802a60f4da7570f345096f8650", :git/url "https://github.com/amithgeorge/deps-new-app-template.git"}}}' -Tnew create :template com.amithgeorge/app-template :name com.example/test-app
This will create a repo with src files at the paths
- src/com/example/test_app/main.clj
- src/com/example/test_app/test_app.clj
Execute
clojure -Sdeps '{:deps {com.amithgeorge/app-template {:local/root "./app-template"}}}' -Tnew create :template com.amithgeorge/app-template :name com.example/test-app