Skip to content

Exportable libraries for embedding sqlc functionality in other cli apps #416

Closed
@clintberry

Description

@clintberry

Sometimes larger companies have their own tool chains including custom CLI apps for generating new projects, etc. I would love to add sqlc functionality to our custom CLI app, but most of the tool chain is behind the internal folder. A good example of a CLI tool but that can also be easily embeddable in other projects is the Goose db migrations tool: https://github.com/pressly/goose

Are you opposed to me just forking the project and messing around with the structure a bit to see if I could get it to fit in our custom tool chain?

An example of something we would want to explore doing at Weave: We start with a proto definition that defines the data model, so I want to generate the sqlc functions to use the proto generated model instead of generating its own (I actually have this working as a POC but it is a hack).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions