parser

package
v0.0.0-...-ae48b6f Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(raw string) string

Clean converts raw PTY output into readable searchable text.

func CleanForProof

func CleanForProof(input, outputClean string) string

CleanForProof prepares output for PNG proof — removes echoed command from start

func CleanInput

func CleanInput(s string) string

CleanInput removes terminal response sequences from captured input

func LoadExcludePatterns

func LoadExcludePatterns() []string

LoadExcludePatterns reads user-defined exclude patterns from ~/.shellcast/exclude

func ShouldExcludeLine

func ShouldExcludeLine(line string, patterns []string) bool

ShouldExcludeLine checks if a line matches any user-defined exclude pattern

Types

This section is empty.

Jump to

Keyboard shortcuts

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