kitex-contrib / kitexcall

A command line tool for sending requests using kitex
Apache License 2.0
15 stars 5 forks source link

Proposal: Enhancement of kitexcall's IDL Search Path for Imported IDL Files #10

Open Zzhiter opened 4 months ago

Zzhiter commented 4 months ago

Currently, when searching for IDL files, kitexcall does not take into account the functionality of specifying additional search paths.

We need that: Allow kitexcall to accept additional search paths for imported IDL files. This could be implemented through a new command-line option, such as -import-path, which specifies one or more directories to search for imported IDL files. This enhancement would greatly improve the usability of kitexcall in projects with complex directory structures or when working with multiple projects that share IDL definitions.

Reference: https://www.cloudwego.io/zh/docs/kitex/tutorials/code-gen/code_generation/#-i-path