exec

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broker

func Broker(cmdStr string)

func Candidates

func Candidates(cmd string, chunks []context.Chunk, current int, symbol string) map[string]string

func EnableVerbose

func EnableVerbose()

func EnableWatch

func EnableWatch()

func Execute

func Execute(cmd, args string)

func ExecutePack added in v2.7.0

func ExecutePack(inputFile, outputFile string) int

ExecutePack reads a contract from inputFile and packs it, optionally writing to outputFile

func GetBatchErrorCount

func GetBatchErrorCount() int

func Index

func Index(symbol, text string)

Types

type Executor

type Executor interface {
	Command() string
	Syntax() string
	Usage() string
	Describe() string
	Validate(args string) error
	Run(args string) (string, uint64, []*types.Event, error) // message, gas used, events, error
}

func AllExecutors

func AllExecutors() []Executor

func GetExecutor

func GetExecutor(cmd string) Executor

Jump to

Keyboard shortcuts

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