cmd

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

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 -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL