Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.53 KB

File metadata and controls

36 lines (29 loc) · 1.53 KB

gendiff.js

Hexlet | Actions Status Node CI | Actions Status Codeclimate | Maintainability Codeclimate | Test Coverage

Description

Here is introduced a cli-app which loads a page with all its content to a dedicated folder and replaces corresponded links on local ones.

Usage

Prerequisites

  • Node 21 is installed.

Install

git clone https://github.com/drgoodness/fullstack-javascript-project-4.git

npm ci

npm link

Run

Start an app. For example:

$ page-loader -h
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

Demo

asciicast