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.
|
|
8 years ago | |
|---|---|---|
| .circleci | 8 years ago | |
| examples | 8 years ago | |
| .gitignore | 8 years ago | |
| Gemfile | 8 years ago | |
| Gemfile.lock | 8 years ago | |
| LICENSE | 8 years ago | |
| README.md | 8 years ago | |
| arguments.go | 8 years ago | |
| file_checker.go | 8 years ago | |
| file_checker_test.go | 8 years ago | |
| file_result.go | 8 years ago | |
| main.go | 8 years ago | |
| rakefile.rb | 8 years ago | |
| semaphore.go | 8 years ago | |
| semaphore_test.go | 8 years ago | |
| url_checker.go | 8 years ago | |
| url_result.go | 8 years ago | |
| utils.go | 8 years ago | |
README.md
liche
liche is a command to check links 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>] [-t <timeout>] [-v] <filenames>...
Options:
-c, --concurrency <num-requests> Set max number of concurrent HTTP requests. [default: 32]
-t, --timeout <timeout> Set timeout for HTTP requests in seconds. Disabled by default.
-v, --verbose Be verbose.
Markdown
> liche file.md
> liche file1.md file2.md
HTML
> liche file.html
> liche file1.html file2.html
Supported properties
- HTML tags:
a,img - HTML attributes:
href,src - URL schemes:
http,https
