Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
oops-guard
command
Command oops-guard catches a genuinely destructive shell command before it runs β telling you exactly what would be lost β and asks you to confirm.
|
Command oops-guard catches a genuinely destructive shell command before it runs β telling you exactly what would be lost β and asks you to confirm. |
|
internal
|
|
|
analyzer
Package analyzer decides whether a shell command line is destructive.
|
Package analyzer decides whether a shell command line is destructive. |
|
buildinfo
Package buildinfo exposes version metadata injected at build time via -ldflags.
|
Package buildinfo exposes version metadata injected at build time via -ldflags. |
|
cli
Package cli wires the oops-guard command-line interface together.
|
Package cli wires the oops-guard command-line interface together. |
|
config
Package config loads oops-guard's optional configuration.
|
Package config loads oops-guard's optional configuration. |
|
confirm
Package confirm asks the user to approve a dangerous command on the controlling terminal.
|
Package confirm asks the user to approve a dangerous command on the controlling terminal. |
|
explain
Package explain asks an optional language model for a plain-English, second opinion on a command.
|
Package explain asks an optional language model for a plain-English, second opinion on a command. |
|
llm
Package llm provides a tiny, dependency-free client for the chat APIs of Anthropic, OpenAI, and Ollama.
|
Package llm provides a tiny, dependency-free client for the chat APIs of Anthropic, OpenAI, and Ollama. |
|
render
Package render turns an analyzer.Assessment into something a human (or a script) can read: a colored, boxed terminal report, plain text, or JSON.
|
Package render turns an analyzer.Assessment into something a human (or a script) can read: a colored, boxed terminal report, plain text, or JSON. |
|
shell
Package shell serves the embedded shell-integration snippets used by `oops-guard init <shell>`.
|
Package shell serves the embedded shell-integration snippets used by `oops-guard init <shell>`. |
Click to show internal directories.
Click to hide internal directories.