mdlinkcheck

command module
v0.0.0-...-0719ba9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

README

mdlinkcheck

Simple cli tool to check links in a markdown file or in a directory of markdown files:

$ go install github.com/giulianopz/mdlinkcheck@latest

$ mdlinkcheck -h
Usage of mdlinkcheck:
  -dir string
    	path of dir containing markdown files
  -file string
    	path of markdown file
  -follow
    	follow redirects (default true)
  -http-method string
    	http method: HEAD (faster, less accurate) or GET (slower, trustworthy) (default "GET")
  -skip-tls
    	ignore invalid TLS/SSL certificates (default false)
  -timeout int
    	timeout in seconds (default 5)
  -user-agent string
    	impersonate an agent (default "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0")

$ mdlinkcheck --file file.md | grep -v 200 
[err]: https://twitter.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL