containerd / containerd/protobuild

add option parameter for the generator

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
126
Forks
29
PR merge metrics
No merged PRs in 30d

Description

We cannot add option to the choosen generator.

For example with [protoc-gen-gotemplate](https://github.com/moul/protoc-gen-gotemplate)

you can add `debug` or `template_dir` option to the generator like :
`--gotemplate_out=template_dir=.,debug=true:.`

It could be cool to have an option in the `Protobuild.toml` to be able to add them something like :

```toml
[[generator]]
name = "gotemplate"

[generator.options]
debug = true
template_dir = "."
```

What do you think ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.