1.5.4 • Published 5 years ago

pwgn-cli v1.5.4

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

pwgn-cli

šŸ” a basic password generator command line interface

demonstration gif

This projects includes Node, TypeScript, TSlint, Jest, GitHub Actions & Codecov.

Table Of Content

I - Install

$ npm i -g pwgn-cli

II - Usage

$ pwgn --help

    pwgn-cli@1.1.0

    Usage
        $ pwgn [-a | --all] [-n | --numbers] [-u | --uppercases]
            [-s | --special-characters] [-l input | --length input]
            [-h | --help] [-v | --version]

    Options
        -a, --all                   Add uppercases, numbers & special characters
                                    to the generation
        -n, --numbers               Add numbers to the generation
        -s, --special-characters    Add special characters to the generation
        -u, --uppercases            Add uppercases to the generation
        -l, --length input         Set the password length (min: 8 / max: 25)

        -h, --help                  Display help informations
        -v, --version               Display the package version

III - Documentation & Coverage

You can find the pwgn documentation here, generated with TSDoc & TypeDoc.

You can find the coverage status here, generated with Jest.

IV - Options

Length: -l input | --length input

$ pwgn -l 24

Your password:

gujoxyysvuoqufbuhpivvype

Complexity

All-in-one: -a | --all

$ pwgn -a

Your password:

w5g>y^U\zN[e%W8F

Numbers: -n | --numbers

$ pwgn -n

Your password:

7bh2vcae1OgOx7i4

Uppercases: -u | --uppercases

$ pwgn -u

Your password:

TOPpojJbRkhVXeyJ

Special characters: -s | --special-characters

$ pwgn -s

Your password:

*jmk<mv*,+x!zo`h

You can mix params too

$ pwgn -n -s

Your password:

21)*bq@#$4]-+8ve

V - Scripts

  • Lint .ts files:
    • npm run lint
    • npm run lint:fix - fix warnings
  • Build .ts files & convert output to an executable
    • npm run build
  • Test your code:
    • npm run test
    • npm run test:watch - test when a file changed
  • Check your code before pushing:
    • npm run check
  • Start the process:
    • npm run start
  • generate documentation:
    • npm run doc

VI - License

Under MIT license.

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.5

6 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