Skip to content

Instantly share code, notes, and snippets.

@vkjr
Last active November 7, 2022 03:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkjr/b328dae73cca7362cf085b1a5be34979 to your computer and use it in GitHub Desktop.
Save vkjr/b328dae73cca7362cf085b1a5be34979 to your computer and use it in GitHub Desktop.

Link to deps-new github.

Thank you, Sean Corfield!

Commands from the video

Install deps-new:

clj -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.13"}' :as new

Check what Clojure CLI tools you have installed

clj -Ttools list

Create library from template

clj -Tnew lib :name vkjr/core :target-dir new-library

Create app from template

clj -Tnew app :name vkjr/core :target-dir new-app

Create scratch

clj -Tnew scratch :name playground

More commands

Remove installed tool with a name new

clj -Ttools remove :name new

Inspect function that deps-new exposes

clojure -A:deps -Tnew help/doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment