An application that returns a random function name and description from the Clojure standard library
Download from https://github.com/practicalli/random-clojure-function.
Open the src/practicalli/random-clojure-function.clj
file in a Clojure editor, evaluate the whole namespace.
Cognitect Labs test runner is included in the deps.edn
project configuration, for running all tests
clojure -A:test:runner
Run the application on the command line:
clojure -m practicalli.random-clojure-function
The application can take arguments that are names of namespaces available in the Clojure Standard Library.
clojure -m practicalli.random-clojure-function "clojure.string" "clojure.repl"
Package the application into a JVM jar file, creating an uberjar that contains the application and the Clojure standard library.
clojure -A:uberjar-depstar
Run the application from the uberjar:
$ java -jar random-clojure-function.jar
Copyright © 2020 Practicalli
Distributed under the Creative Commons Attribution Share-Alike 4.0 International