Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

lestoni/faker-cli

Repository files navigation

ARCHIVED - NO LONGER MAINTAINED

Note: This repository is no longer actively maintained.

Thank you for your interest in this project. While the repository remains accessible for reference and use, please be aware that no further updates, bug fixes, or support will be provided at this time.


faker-cli.

Build Status

NPM

A command-line wrapper for faker

Install.

$ npm install -g faker-cli

Examples.

$ faker-cli --helpers userCard

$ faker-cli -n findName

Usage.

 Usage: faker-cli [option]

  A cli wrapper for fakerjs

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -a, --address [value]   street address
    -c, --company [value]   company info
    -d, --date    [value]   date options
    -f  --finance [value]   finance field
    -i  --internet [value]  internet goodies
    -l  --lorem    [value]   lorem ipsum goodnes
    -n  --names    [value]  person name(s)
    -s  --system   [value]   System Info'
    -C  --commerce [value]  Commerce related info
    -p  --phone   [value]   phone number options
    -r  --random  [value]   randomness
    -L, --locale  [value]   set locale, defaults to en
    -x, --hacker  [value]   hackers stuff
    -H, --helpers [value]   detailed contextual data
    -I, --image   [value]   image data
    --locales           list available locales

  faker-cli <cmd> help    list options available for <cmd>

  Examples

        $ faker-cli --helpers userCard
        $ faker-cli --random uuid
        $ faker-cli --locale de --helpers userCard

License.

MIT.