Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitValidation = 2 // bad flag, missing/invalid arg, unknown key, unparseable value ExitNotFound = 3 // resource (URL, crawl id, selector match) absent ExitUpstream = 4 // network/fetch/backend failure outside our control ExitPrecondition = 5 // missing API key, already-exists, locked ExitCancelled = 6 // SIGINT/SIGTERM observed )
Exit codes follow the table in references/cli-conventions.md and are surfaced to scripts/agents via os.Exit in main.go.
Variables ¶
This section is empty.
Functions ¶
func ExecuteContext ¶
ExecuteContext runs the root command with a caller-supplied context. main.go passes a context that cancels on SIGINT/SIGTERM so foreground commands (notably crawl) can shut down gracefully.
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.