1.1.1 • Published 5 years ago

kuzzle-fixtures v1.1.1

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

Kuzzle Fixtures

A simple CLI to add fixtures to your Kuzzle server. It uses Faker under the hood and it is somehow customizable.

$ kuzzle-fixtures --help
Usage: index [options]

Options:
  -V, --version            output the version number
  -h, --host [name]        Kuzzle hostname (default: localhost)
  -p, --port <port>        Kuzzle port (default: 7512)
  -i, --index [name]       The name of the index to create (default: testindex)
  -c, --collection [name]  The name of the collection to create (default: testcollection)
  -n, --items <number>     The number of items to be added as fixtures (default: 100)
  -m, --mapping [path]     The path to a file containing the mapping for the collection
  -h, --help               output usage information

The content of the items is hardcoded as follows

{
  firstName: faker.name.firstName(),
  lastName: faker.name.lastName(),
  job: faker.name.jobTitle()
}
1.1.1

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago