Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(executeOptions ...ExecuteOption) error
Execute executes the root command.
Types ¶
type ExecuteOption ¶
type ExecuteOption func(e *ExecuteOptions)
ExecuteOption -
func WithModules ¶
func WithModules(load func(thread *starlark.Thread, module string) (dict starlark.StringDict, err error)) ExecuteOption
WithModules add new modules to shalm, which can be loaded using load inside starlark scripts
type ExecuteOptions ¶
type ExecuteOptions struct {
// contains filtered or unexported fields
}
ExecuteOptions -
Click to show internal directories.
Click to hide internal directories.