From d2150eea9555467feefea9fcd68f47cf35947da6 Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Thu, 18 Apr 2019 12:54:41 +0200 Subject: [PATCH] Enhance the README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71f77fd..b60b621 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,12 @@ A quick hack to export documents from a content store via Start a REPL and use it from there. -``` shell +``` clojure +(require '[clojure.java.io :as io]) (with-open [writer (io/writer "export/ebooks.csv")] - (write-ebook-numbers writer (extract-ebook-numbers user password))) + (write-ebook-numbers writer (extract-ebook-numbers "username" "password"))) -(extract-content user password) +(extract-content "username" "password") ``` You might want to adapt the default values that are hard coded at the