Skip to content

lestoni/faker-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.