Skip to content

Any interest in supporting stencils? #296

Open
@pastre

Description

@pastre

swiftgen uses stencils as a very smart way to provide templates to manipulate the generated code. I'd be happy to implement a feature for flutter_get, if the community finds that's the path that the tool should follow

First use case that I found for this is to manipulate how code is generated and add/remove default parameters. For instance, I'm working on a private module for my company, and all images will be in that package. It makes sense to pass the module's name as the default parameter for the package property. Such can be achieved via a messy YAML configuration, but that won't scale or cover future cases

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions