A command line tool to fetch html content
$ go build -o fetch cmd/fetch/main.go
-
Directly run
$ go run cmd/fetch/main.go
-
After compiled
$ ./fetch https://www.google.com https://autify.com
-
Display help
$ ./fetch --help
-
Display metadata
$ ./fetch --metadata https://www.google.com
-
Build
$ docker build . -t fetch
-
Interactive mode
$ docker run -it -v ${PWD}:/data fetch
-
Run
$ docker run -v ${PWD}:/data fetch fetch --metadata https://www.google.com