cornucopia-rs / cornucopia

Generate type-checked Rust from your PostgreSQL.
Other
755 stars 31 forks source link

CLI command names and consistency. #213

Open LouisGariepy opened 1 year ago

LouisGariepy commented 1 year ago

In our CLI, we renamed the managed command to schema at some point. But we didn't change the generate_managed function to reflect that.

One thing to note is that generate_schema sounds a bit misleading as we are generating against a schema, not generating the schema itself.

Should we leave things as is and live with the discrepancy? Should we find a better name to make the CLI and the api consistent?