builtins

package
v0.0.0-...-5614229 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidArgCount = errors.New("invalid argument count")
	HomeDir, _         = os.UserHomeDir()
)

Functions

func ChangeDirectory

func ChangeDirectory(args ...string) error

func Echo

func Echo(w io.Writer, args ...string) error

func EnvironmentVariables

func EnvironmentVariables(w io.Writer, args ...string) error

func Help

func Help(w io.Writer, args ...string)

func PrintWorkingDirectory

func PrintWorkingDirectory() error

func SaveToHistory

func SaveToHistory(command string) error

func ShowHistory

func ShowHistory() error

func Source

func Source(fileName string, args ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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