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

feat: exports generate code #180

Merged
merged 1 commit into from
Apr 11, 2022
Merged

feat: exports generate code #180

merged 1 commit into from
Apr 11, 2022

Conversation

jcsackett
Copy link
Contributor

To use vervet's generate functions inside other go tools, this exports
the generate function defined in internal/cmd/generate.go as a
function that accepts a param object and executes the code generator.

To avoid duplication, the generate command is updated to set up the
params from the cli options and then uses the new generate package to do
the actual generation.

To use vervet's generate functions inside other go tools, this exports
the generate function defined in `internal/cmd/generate.go` as a
function that accepts a param object and executes the code generator.

To avoid duplication, the generate command is updated to set up the
params from the cli options and then uses the new generate package to do
the actual generation.
@jcsackett jcsackett marked this pull request as ready for review April 11, 2022 17:40
@jcsackett jcsackett requested a review from a team as a code owner April 11, 2022 17:40
@jcsackett jcsackett merged commit 0be8cab into main Apr 11, 2022
@jcsackett jcsackett deleted the feat/export-generate branch April 11, 2022 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants