shell

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package shell provides an interactive shell to load & run amod files.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoadRequiresName    = errors.New("'load' requires a file name")
	ErrNoFrameworkSelected = errors.New("no frameworks selected")
	ErrNoModel             = errors.New("no model loaded")
)

Functions

This section is empty.

Types

type ErrInvalidFramework added in v0.9.0

type ErrInvalidFramework struct {
	Name string
}

func (ErrInvalidFramework) Error added in v0.9.0

func (e ErrInvalidFramework) Error() string

type ErrUnrecognizedCommand added in v0.9.0

type ErrUnrecognizedCommand struct {
	Command string
}

func (ErrUnrecognizedCommand) Error added in v0.9.0

func (e ErrUnrecognizedCommand) Error() string

type Shell

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

func Initialize

func Initialize(settings *cli.Settings) (s *Shell, err error)

func (*Shell) Start

func (s *Shell) Start() (err error)

Jump to

Keyboard shortcuts

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