Elisp wrapper around deps-new and clj-new. Create Clojure projects from templates within Emacs.
If you have a template that you think would be useful for others, feel free to submit a PR with additional menu options or submit an issue with a link to the template.
- A version of Clojure that includes Clojure CLI Tools (comes included in any recent version)
- deps-new available on your system
- clj-new available on your system.
deps-new
and clj-new
can be installed with the following commands:
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.5.2"}' :as new
clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.399"}' :as clj-new
- Run
M-x package-install clj-deps-new
- If the package wasn't found, run
M-x package-refresh-contents
- Place
(require 'clj-deps-new)
in your init file
- Run
git clone https://github.com/jpe90/emacs-deps-new.git
- In emacs, run
package-install-file
and navigate toclj-deps-new.el
- Place
(require 'clj-deps-new)
in your init file
Run M-x clj-deps-new
and follow the on-screen prompts to create a project.
When opts are enabled, the text in parenthesis display a preview of the argument that will be passed to the final command.
See the Community Templates
section of clj-deps-new.el
to see how to add new templates to the interface.
You may to familiarize yourself with the basics of Transient. The Developer Quick Start Manual and Transient Manual are good places to get started. In particular, note the section on modifying existing transients.