ArsenyKonkolovich/backend-project-lvl3

View on GitHub
README.md

Summary

Maintainability
Test Coverage
### Hexlet tests and linter status:
[![Actions Status](https://github.com/ArsenyKonkolovich/backend-project-lvl3/workflows/hexlet-check/badge.svg)](https://github.com/ArsenyKonkolovich/backend-project-lvl3/actions)
### Github actions:
[![Node CI](https://github.com/ArsenyKonkolovich/backend-project-lvl3/actions/workflows/nodeJS.yml/badge.svg)](https://github.com/ArsenyKonkolovich/backend-project-lvl3/actions/workflows/nodeJS.yml)

### Codeclimate bages:
[![Maintainability](https://api.codeclimate.com/v1/badges/7f134787a427157ce8c8/maintainability)](https://codeclimate.com/github/ArsenyKonkolovich/backend-project-lvl3/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/7f134787a427157ce8c8/test_coverage)](https://codeclimate.com/github/ArsenyKonkolovich/backend-project-lvl3/test_coverage)

### About Page Loader
Page Loader is an utility for downloading a page and its resources. This project was created as part of the [Hexlet](https://ru.hexlet.io/) course.


## Getting started
- Clone the repository
```cmd
git clone https://github.com/ArsenyKonkolovich/backend-project-lvl3.git
```
- Install dependencies
```cmd
make install
```
- You need have node version - 17.9.0+

### Usage
```cmd
Usage: page-loader [options] <url>

Page loader utility

Options:
  -V, --version       output the version number
  -o, --output [dir]  output dir (default: "/home/user/current-dir")
  -h, --help          display help for command
```

### Downloading
[![asciicast](https://asciinema.org/a/a5sYAGi3jWawIPX9QwSEMxl87.svg)](https://asciinema.org/a/a5sYAGi3jWawIPX9QwSEMxl87)

### Debug mode
[![asciicast](https://asciinema.org/a/XjO8c6K5J5upIp9vb4Mt0vMOs.svg)](https://asciinema.org/a/XjO8c6K5J5upIp9vb4Mt0vMOs)

### Downloading with errors
[![asciicast](https://asciinema.org/a/ESaCVYjAgRnjRwYo0Ee56w3gI.svg)](https://asciinema.org/a/ESaCVYjAgRnjRwYo0Ee56w3gI)