pub fn run(
schema_path: &str,
output_dir: &str,
package: &str,
dialect_name: &str,
formatter: &OutputFormatter,
) -> Result<()>Expand description
Run the generate-proto command.
Reads a compiled schema and writes three files to the output directory:
service.protoโ proto3 service definitionvr_migrations.sqlโ row-shaped view DDL for the gRPC transportdescriptor.binpbโ serializedFileDescriptorSetfor gRPC reflection
ยงErrors
Returns an error if the schema cannot be loaded, the dialect is unknown, or the output files cannot be written.