Fast Link Checker for Markdown and HTML in Go
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.
 
 
 
 
 
 

28 lines
377 B

package main
import (
"fmt"
"os"
docopt "github.com/docopt/docopt-go"
)
func main() {
getArgs()
}
func getArgs() map[string]interface{} {
usage := `Link checker for Markdown and HTML
Usage:
linkcheck <filename>`
args, err := docopt.Parse(usage, nil, true, "linkcheck", true)
if err != nil {
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
return args
}