Documentation ¶
Index ¶
- Variables
- func Fail(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func PresetExit(thread *starlark.Thread)
- func Print(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Printf(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SetArgs(args []string)
- type Distro
- type RunResult
Constants ¶
This section is empty.
Variables ¶
Args are the arguments accessible by nosh
View Source
var Module *starlarkstruct.Module
View Source
var ModuleExit = starlark.NewBuiltin("os.exit", exit)
View Source
var ModuleExpand = starlark.NewBuiltin("os.expand", expand)
View Source
var ModuleGetenv = starlark.NewBuiltin("os.getenv", getenv)
View Source
var ModuleQuit = starlark.NewBuiltin("os.quit", exit)
View Source
var ModuleRun = starlark.NewBuiltin("os.run", run)
View Source
var ModuleSetenv = starlark.NewBuiltin("os.setenv", setenv)
View Source
var (
PresetExitCode = 0
)
Functions ¶
func PresetExit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.