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 as "tools" (Clojure CLI 1.11.1.1149 or later) with the following commands:
clojure -Ttools install-latest :lib io.github.seancorfield/deps-new :as new
clojure -Ttools install-latest :lib com.github.seancorfield/clj-new :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
Put this expression in your config file and eval:
(use-package clj-deps-new
:ensure t
:defer t)
- 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.