Open pierresouchay opened 10 months ago
@NQPhuc I can implement it if you want.
I propose the following:
by default, if something fails, return 0 unless --error-code-on-failure=42
in such a case 42 would be returned... OK with that?
So we are sure we don't break existing users (where errors are now silent)
When running in command line, sql2dbml does not return an error code if something bad happens.
What about returning an error code in such as case?
Would you consider a MR with such a feature?