doc/codegen: update entc command output (#881)

This commit is contained in:
Ariel Mashraki
2020-10-25 15:55:26 +02:00
committed by GitHub
parent 4db3bd048f
commit 7aa41b88f6

View File

@@ -88,10 +88,11 @@ Examples:
entc generate github.com/a8m/x
Flags:
--feature strings extend codegen with additional features
--header string override codegen header
-h, --help help for generate
--idtype [int string] type of the id field (default int)
--storage strings list of storage drivers to support (default [sql])
--storage string storage driver to support in codegen (default "sql")
--target string target directory for codegen
--template strings external templates to execute
```
@@ -228,4 +229,4 @@ func EnsureStructTag(name string) gen.Hook {
})
}
}
```
```