cmd/ent: hide the --idtype flag from generate command (#3490)

The --idtype flag predates the field.<Type>(id) option.
See, https://entgo.io/docs/schema-fields\#id-field.
This commit is contained in:
Ariel Mashraki
2023-04-18 15:54:14 +03:00
committed by GitHub
parent 0d1257f5f2
commit 0508677ce7
5 changed files with 10 additions and 5 deletions

View File

@@ -92,7 +92,6 @@ 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 string storage driver to support in codegen (default "sql")
--target string target directory for codegen
--template strings external templates to execute