Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to pass all set of flatc args? #9

Closed
moiseevigor opened this issue Jun 15, 2020 · 2 comments
Closed

Is it possible to pass all set of flatc args? #9

moiseevigor opened this issue Jun 15, 2020 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@moiseevigor
Copy link

moiseevigor commented Jun 15, 2020

flatc has rich set of arguments https://google.github.io/flatbuffers/flatbuffers_guide_using_schema_compiler.html

I saw you implement the basic set that works just fine, but for example I'd love to modify the --filename-suffix, but cannot findout how?

Help would be much appreciated!

@frol frol added good first issue Good for newcomers help wanted Extra attention is needed labels Jun 15, 2020
@frol
Copy link
Owner

frol commented Jun 15, 2020

@moiseevigor There is currently no way to do that, and I don't have bandwidth to work on flatc-rust at this point in time, but I would happily review, merge, and release if you send a pull request.

You need to figure out the way it makes sense to pass the argument down to

pub fn run(&self, args: Args) -> Result<()> {

@moiseevigor
Copy link
Author

Got it, thanks for the reply! I'll try to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants