0.2.1 • Published 5 years ago

cli-set-canonical v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

cli-set-canonical

A simple script for batch writing canonical links into files.

Install

npm install -g cli-set-canonical

Usage

set-canonical -h <host> [-d <dir>] [-e <file_exts>] [-i] [-s] [-f] [-y]

Options:
-h, --host        Server host name (domain name)             [string] [required]
-d, --dir         Path to the directory with site files          [default: "./"]
-e, --exts        File extensions (comma-separated)       [default: "html, php"]
-i, --with-index  Do not remove "index.*" from link URL                [boolean]
-s, --https       Use https scheme in link URL                         [boolean]
-f, --override    Override canonical link (if present)                 [boolean]
-y --yes          Continue without prompt                              [boolean]
0.2.1

5 years ago

0.2.0

5 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago