Skip to content

v0.4

Compare
Choose a tag to compare
@rednafi rednafi released this 29 Jan 23:06
· 75 commits to main since this release
  • Adds a new --json/-j flag to print the link status as json.

Take it for a spin:

link-patrol -f <filename.md> -j | jq
{
  "location": "https://example.com",
  "statusCode": 200,
  "errMsg": ""
}
{
  "location": "https://gen.xyz/",
  "statusCode": 200,
  "errMsg": ""
}
{
  "location": "https://reference.com",
  "statusCode": 403,
  "errMsg": ""
}
2024/01/30 00:05:37 one or more URLs have error status codes
exit status 1