Skip to content

Commit

Permalink
Alias command
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsz committed Sep 28, 2023
1 parent 790d261 commit 2970dc4
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 112 deletions.
198 changes: 88 additions & 110 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.org
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Certificaat is optimized for a specific workflow: retrieve a certificate for you
In your ~deps.edn~, add an alias for ~certificaat~.

#+begin_src clojure
:aliases {:certificaat {:extra-deps {org.danielsz/certificaat {:mvn/version "2.x.x"}}
:aliases {:certificaat {:extra-deps {org.danielsz/certificaat {:mvn/version "2.1.8"}}
:extra-paths ["resources"]
:main-opts ["-m" "certificaat.core"]}}
#+end_src

You can now invoke it like this:

#+begin_src sh
$ clj -M:certificaat
$ clj -A:certificaat
#+end_src

It is recommended to create an executable file in your path for ease of use.
Expand Down

0 comments on commit 2970dc4

Please sign in to comment.