document load-file
This commit is contained in:
parent
8da9a75445
commit
31b106e285
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue