shell

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(cmd string) error

ExecuteCommand runs a command in a shell

func GetHistory added in v0.2.5

func GetHistory(limit int) []string

GetHistory returns recent shell history commands (newest first)

func GetLastCommand

func GetLastCommand() (string, error)

GetLastCommand attempts to get the last command from shell history

Types

This section is empty.

Jump to

Keyboard shortcuts

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