Skip to content

add option parameter for the generator #17

@Tommy-42

Description

@Tommy-42

We cannot add option to the choosen generator.

For example with 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 :

[[generator]]
  name = "gotemplate"

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

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions