aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 15:02:11 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 15:02:11 -0600
commit8f4f7b5252a9e93932818be2dc9613bdc85550d8 (patch)
tree2ae49ebc87c458932f9e6b556304ad7e7e2b035d
parente25e05424d79a5010966c4e34e3733f1eb3bcfca (diff)
downloadfixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.tar.gz
fixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.tar.bz2
fixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.zip
Update README
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
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