clj-shell
provides some unix-command-esque utility functions, primarily for use from the repl.
The names of the functions mirror unix commands where possible, except using clojure naming conventions (so cd
becomes cd!
for example).
The aim of this library is not to provide full shell scripting functionality, but just to give users a quick way of executing some common shell commands without leaving the repl.
Note that this library does not attempt to provide functions for every unix command.
Here are some common functions which clj-shell
does not provide, and a recommended library to use instead:
If you're using Leiningen:
[clj-shell "0.1.0-SNAPSHOT"]
to your project.clj
.
Or tools.deps:{clj-shell {:mvn/version "0.1.0-snapshot"}}
to your deps.edn
.(use 'clj-shell.core)
Distributed under the GPL V3 license.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close