Skip to content

Commit

Permalink
Enhance the README
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Apr 18, 2019
1 parent e431738 commit d2150ee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2150ee

Please sign in to comment.