cmd

package
v0.0.0-...-f54e8e0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Interp             *fast.Interp
	WriteDeclsAndStmts bool
	OverwriteFiles     bool
}

func New

func New() *Cmd

func (*Cmd) EvalDir

func (cmd *Cmd) EvalDir(dirname string) error

func (*Cmd) EvalFile

func (cmd *Cmd) EvalFile(filename string) error

func (*Cmd) EvalFileOrDir

func (cmd *Cmd) EvalFileOrDir(fileOrDir string) error

func (*Cmd) EvalFilesAndDirs

func (cmd *Cmd) EvalFilesAndDirs(filesAndDirs ...string) error

func (*Cmd) EvalReader

func (cmd *Cmd) EvalReader(src io.Reader) error

func (*Cmd) Init

func (cmd *Cmd) Init()

func (*Cmd) Main

func (cmd *Cmd) Main(args []string) (err error)

func (*Cmd) Usage

func (cmd *Cmd) Usage() error

Jump to

Keyboard shortcuts

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