From 8f4f7b5252a9e93932818be2dc9613bdc85550d8 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 26 Dec 2023 15:02:11 -0600 Subject: Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e022407..f6792cf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Usually wiring up fake test data is a bunch of work, especially when that data i - Single binary without dependencies - Language agnostic -- Dead simple and fast grammar to generate fixtures in minutes +- Simple syntax - Supports relations - Written in OCaml @@ -17,7 +17,7 @@ Check out the latest [release binary](https://codeberg.org/marcc/fixgen/releases Fixgen makes it simple to generate fixtures. It comes with a tiny DSL: ```sh -$ fixgen 'user (2): id uuidv4, name name; purchase (10): id uuidv4, buyer user.id, amount int(1,40), currency: ("USD","MXN")' -o fixtures +$ fixgen 'user (2): id uuidv4, name name; purchase (10): id uuidv4, buyer user.id, amount int(1,40), currency ("USD","MXN")' -o fixtures ``` This will generate two files: @@ -47,7 +47,7 @@ Fixgen comes with the following built-in types: - name - uuidv4 - int(min,max) -- constant, defined in quotes - `fixgen 'user (1): id uuiv4, name "Bob"'` +- constants, defined using quotes I.E. `$ fixgen 'user (1): id uuiv4, name "Bob"'` - ("multiple","choices") ## Development - Prerequisites -- cgit v1.2.3