diesel_cli_ext
diesel_cli_ext copied to clipboard
Suggestion: Allow excluding certain tables from generation
Some table's model structs should still be handwritten, and there should be no confusion / shadowing or dead code.
So it'd be great if one could --exclude table_name
/ -e table_name
.
are the filters provided by diesel_cli
enough for your case?
fyi, It corresponds to the --only-tables and --except-tables on the command line.
Thanks! Sorry, I hadn't seen that :)
Hm, actually, no, because I can't use a diesel.toml file for this use case.
There should be a way to specify --only-tables
and --except-tables
with diesel_cli_ext on the command line.