Skip to content

jonase/nrepl-transcript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nrepl-transcript

nREPL middleware to save a transcript of your repl interactions.

Usage

Update your project.clj with

(defproject your-project
  :dependencies [...
                 [nrepl-transcript "0.1.0"]
                 ...]
  ...
  :repl-options {:nrepl-middleware
                 [nrepl-transcript.file/wrap-file-transcript]}
  ...)

and all your interactions will appear in a "transcript.txt" file in the root of your project.

System wide usage

You can also add the followings to ~/.lein/profiles.clj to record repl interactions system wide:

{:user {...
        :dependencies [[nrepl-transcript "0.1.0"]]
        :repl-options {:nrepl-middleware
                       [nrepl-transcript.file/wrap-file-transcript]}}
        ...}

TODO

  • capture *out*

License

Copyright © 2013 Jonas Enlund

Distributed under the Eclipse Public License, the same as Clojure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published