document load-file

This commit is contained in:
Michiel Borkent 2019-08-18 07:34:47 +02:00
parent 8da9a75445
commit 31b106e285

View file

@ -162,6 +162,12 @@ Scripts may be executed from a file using `-f` or `--file`:
bb -f download_html.clj bb -f download_html.clj
``` ```
Files can also be loaded inline using `load-file`:
``` shellsession
bb '(load-file "script.clj")'
```
Using `bb` with a shebang also works: Using `bb` with a shebang also works:
``` clojure ``` clojure