Expand description
Health check subcommand implementation.
Validates config, API keys and API reachability.
Exit codes follow BSD conventions:
- 0 success (all checks passed)
- 66 no API keys configured (EX_NOINPUT)
- 69 API service unreachable (EX_UNAVAILABLE)
- 74 configuration corrupt or unreadable (EX_IOERR)
Structs§
- Health
Report - Consolidated result of the health checks.
Functions§
- run_
health - Runs the health checks and returns the appropriate BSD exit code.