Skip to content

Latest commit

 

History

History
78 lines (66 loc) · 1.44 KB

README.md

File metadata and controls

78 lines (66 loc) · 1.44 KB

Checkup

CLI to run simple health checks against endpoints

License: MIT


Example Usage :

Note that we introduced styling from https://github.com/charmbracelet/lipgloss

Default usage with listen

Use with listen command Use with exam command Use with exam command

Passing a File with exam

Use with exam command

Local usage with environment variables
# Basic Authentication with env vars
# CU_USER=admin CU_PASS=pass
$ checkup listen -e http://localhost:8080 -a

Exam File Example :

Yaml

name: Test Name
endpoint: https://duckduckgo.com
tests:
  - code: 200
    paths:
      - /farm
      - /something
      - /else
  - code: 404
    paths:
      - /this
      - /not
      - /found
{
  "name": "Exam Name",
  "endpoint": "https://google.com",
  "tests": [
    {
      "code": 200,
      "paths": [
          "/farm",
          "/something",
          "/else"
      ]
    },
    {
      "code": 404,
        "paths": [
          "/this",
          "/not",
          "/found"
      ]
    }
  ]
}