mirror of https://github.com/nmasse-itix/liche.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
liche
liche is a command to check links' connectivity in Markdown and HTML files.
It checks all a and img tags in specified files.
Installation
go get -u github.com/raviqqe/liche
Usage
> liche --help
Link checker for Markdown and HTML
Usage:
liche [-c <num-requests>] [-r] [-t <timeout>] [-v] <filenames>...
Options:
-c, --concurrency <num-requests> Set max number of concurrent HTTP requests. [default: 32]
-r, --recursive Search Markdown and HTML files recursively
-t, --timeout <timeout> Set timeout for HTTP requests in seconds. Disabled by default.
-v, --verbose Be verbose.
Examples
> liche file.md
> liche file1.md file2.md
> liche file.html
> liche file1.html file2.html
> liche -r directory # Search all Markdown and HTML files recursively.
Supported properties
- HTML tags:
a,img - HTML attributes:
href,src - URL schemes:
http,https
