vm

package
v0.124.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 45 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingParameter = errors.New("missing argument")
	ErrInvalidParameter = errors.New("can't parse argument")
)

Various errors.

Functions

func NewCommands

func NewCommands() []*cli.Command

NewCommands returns 'vm' command.

func Parse added in v0.99.4

func Parse(args []string) (string, error)

Parse converts it's argument to other formats.

Types

type CLI added in v0.99.4

type CLI struct {
	// contains filtered or unexported fields
}

CLI object for interacting with the VM.

func NewWithConfig added in v0.99.4

func NewWithConfig(printLogotype bool, onExit func(int), c *readline.Config, cfg config.Config) (*CLI, error)

NewWithConfig returns new CLI instance using provided config and (optionally) provided node config for state-backed VM.

func (*CLI) Run added in v0.99.4

func (c *CLI) Run() error

Run waits for user input from Stdin and executes the passed command.

Jump to

Keyboard shortcuts

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