Add tags feature to readme

This commit is contained in:
Patrick O'brien 2016-09-04 23:56:36 +10:00
parent 4e8191b8dd
commit 51a86dde3d

View file

@ -225,6 +225,7 @@ not to pass them through the command line or environment variables:
| pkgname | "models" |
| output | "models" |
| exclude | [ ] |
| tags | [ ] |
| debug | false |
| no-hooks | false |
| no-tests | false |
@ -265,6 +266,7 @@ Flags:
--no-tests Disable generated go test files
-o, --output string The name of the folder to output to (default "models")
-p, --pkgname string The name you wish to assign to your generated package (default "models")
-t, --tag stringSlice Struct tags to be included on your models in addition to json, yaml, toml
```
Follow the steps below to do some basic model generation. Once we've generated