Skip to main content

Module pattern

Module pattern 

Source

Structs§

FailurePattern
Pattern
SuccessPattern

Enums§

FailureStrategy

Functions§

builtins
extract_failure
Apply a failure strategy to extract actionable output.
extract_summary
Apply a success pattern to output, returning the formatted summary if it matches.
find_matching
Find the first pattern whose command_match matches command.
find_matching_ref
Like find_matching but works with a slice of references.
load_user_patterns
Load user-defined patterns from a directory of TOML files. Invalid files are silently skipped.