Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCliCtx ¶ added in v0.184.0
InitCliCtx returns an arr.ai context with the arguments set from the CLI context.
For example, command line `arrai -d r file.arrai arg1 arg2 arg3` will set `[]string{"file.arrai", "arg1", "arg2", "arg3"}` as the context value of `argsKey`.
func InitRunCtx ¶
InitRunCtx returns a context for evaluating arr.ai programs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.