0.0.3 • Published 5 years ago

hexlet-page-loader v0.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Page Loader

Build Status Maintainability Test Coverage

A webpage downloading command line utility.

Installation

Use the package manager npm to install page loader.

npm i hexlet-page-loader -g

Usage

page-loader -h

Usage: page-loader [options] <path> <url>

A page loading command line utility

Options:
  -V, --version          output the version number
  --output               dowload http page and save it to the requested path
  -h, --help             output usage information
$ page-loader --output /var/tmp https://hexlet.io/courses
$ open /var/tmp/hexlet-io-courses.html

asciicast

Debug mode

It is possible to run page loader in debug mode.

$ DEBUG=page-loader page-loader --output /var/tmp https://hexlet.io/courses

asciicast