pub fn cmd_generate(config: &RpcConfig) -> Result<()>
Generates TypeScript type definitions and a typed RPC client from the configured directory, writing the results to the configured output paths.