This commit is contained in:
Michiel Borkent 2020-04-13 21:16:13 +02:00
parent d07522723c
commit da8714805e

View file

@ -508,6 +508,9 @@ $ bb "(my-gist-script/-main)"
Hello from gist script!
```
When invoking `bb` with a main function the expression `(System/getProperty
"babashka.main")` will return the name of the main function.
Also see the
[babashka.classpath](https://github.com/borkdude/babashka/#babashkaclasspath)
namespace which allows dynamically adding to the classpath.