Skip to main content

seeder

Usage: chr seeder [OPTIONS] COMMAND [ARGS]...

ALPHA FEATURE: Generate fake data for a local database

╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ init Create initial seeder configuration for blockchains │
│ generate Generate Rell blockchain seeder module │
╰─────────────────────────────────────────────────────────────────────────────╯

You can use the seeder command (chr seeder) to generate mock data for a local database. This is an early-stage feature and may be subject to change.

seeder init

Usage: chr seeder init [<options>]

Create initial seeder configuration for blockchains

Configuration Properties:
-s, --settings=<settings> Alternate path for project settings file

Options:
-bc, --blockchain=<blockchain>
Blockchains to generate configuration for (defaults to all).
-h, --help Show this message and exit

The init command chr seeder init allows you to create initial seeder configuration for blockchains.

seeder generate

Usage: chr seeder generate [<options>]

Generate Rell blockchain seeder module

Configuration Properties:
-s, --settings=<settings> Alternate path for project settings file

Options:
--alternative-config-folder=<path>
Alternative path to the root seeder configuration folder
-bc, --blockchain=<blockchain>
Blockchains to generate seeders for (defaults to all)
-h, --help Show this message and exit

The generate command chr seeder generate allows you to generate Rell blockchain seeder module.