Liking cljdoc? Tell your friends :D

clj-shell

Alpha - subject to breaking changes

Documentation

Rationale

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:

Usage

If you're using Leiningen:

  • Add [clj-shell "0.1.0-SNAPSHOT"] to your project.clj. Or tools.deps:
  • Add {clj-shell {:mvn/version "0.1.0-snapshot"}} to your deps.edn.
  • Start a repl, and enter (use 'clj-shell.core)
  • See the docs for a list of available functions

License

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