0.2.0 • Published 1 year ago

check-pr-length v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

check-pr-length

A little cli to check the length of a PR and exit 1 if it reaches a certain threshold.

Install

With npm:

$ npm install check-pr-length -g

With yarn:

$ yarn global add check-pr-length

Usage

usage : check-pr-length [-v | --version] [-h | --help]
                        [--base[=<base-branch>]] [--max[=<max-line-changes>]]
                        [--exclude[="<blob>;<blob>;..."]]
    -v, --version
        Print the version number.
    -h, --help
        Show this help message.
    --base[=<base-branch>]
        The base branch to compare against. Defaults to `develop`.
    --silent[=false]
        Defaults to true, set to false to get more detailed output.
    --max[=<max-line-changes>]
        The maximum number of line changes allowed (insertions or deletions). Defaults to `500`.
    --total[=<max-line-changes>]
        The maximum number of line changes allowed (insertions and deletions). Defaults to twice the max.
    --exclude[="<blob>;<blob>;..."]
        A list of blobs to exclude from the check.
0.2.0

1 year ago

0.1.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago