return to top
source
The type of a Script's monad.
Script
It is an IO monad equipped information about the Lake configuration.
IO
The type of a Script's function.
It is similar to the main function's signature, except the monad is also equipped with information about the Lake configuration.
main
A package Script is a named ScriptFn definition with a some optional documentation.
ScriptFn
It can be run by lake run <name> [-- <args>].
lake run <name> [-- <args>]
The full name of the Script (e.g., pkg/script).
pkg/script
Run the script with the specified CLI args.
script
args