Versions in this module Expand all Collapse all v0 v0.22.1 Sep 10, 2026 v0.22.0 Sep 8, 2026 Changes in this version + func ArgWords(cmd string) ([]string, bool) + func HasPipe(cmd string) bool + func MatchesWords(line, match string) bool + func Operands(cmd string) []string + func Parses(s string) bool + func Words(cmd string) ([]string, bool) + type Cmd struct + Assigns []string + Expanded bool + Words []string + func (c Cmd) Arg(n int) string + func (c Cmd) Name() string + type Line struct + Background bool + Cmds []Cmd + Heredoc bool + StateChanging bool + Structured bool + func Parse(cmd string) (Line, bool)