1 stable release
1.0.1 | Jun 5, 2024 |
---|
#660 in Development tools
75KB
2K
SLoC
faking-cli
Usage
Single generator
> faking "I32" -n 10
-1858314450
-222718204
1350368207
1761043599
534217560
806407691
1799913151
-210038962
-857619727
259086971
Custom schema generation (JSON)
> faking -s cust_schema.json -n 5
[
{
"field-1-bool": bool,
"filed-2-i8": -62,
"field-3-obj-or-null": null,
"field-4-obj": {
"inner-field-1-uuid": "886c6e12-3f5c-466a-8da3-b416caeffa79",
"inner-field-2-uuid": "a0946c18-24b0-471e-b996-6f1459de981e"
}
},
....
]
For a list of generators and their categories you can use the following command
faking list
Getting Started Development
cargo run -- --help
cargo run -- -s .\schemas\testcase.json
Dependencies
~21MB
~395K SLoC