Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

feat: execute templates on content #75

Merged
merged 3 commits into from
Apr 22, 2021
Merged

Conversation

bketelsen
Copy link
Contributor

Add the ability to execute a template on the entire dataset, on a single set of models in the dataset, or once per model in a single set of models.

@bketelsen bketelsen requested a review from rawkode April 22, 2021 12:17
@bketelsen
Copy link
Contributor Author

imagine adding a -o flag for output filename that had parameterization in it based on the content model:

blox execute -t article.txt.tmpl -w articles -e -o '[id].go'

@bketelsen
Copy link
Contributor Author

might consider renaming this to blox template because having blox exec or blox execute with roughly the same format, but instead of running a template, it executes a shell command, would be awesome.

cmd/blox_render.go Outdated Show resolved Hide resolved
cmd/blox_render.go Show resolved Hide resolved
@bketelsen bketelsen marked this pull request as ready for review April 22, 2021 13:19
@bketelsen bketelsen merged commit 38a820b into cueblox:main Apr 22, 2021
@bketelsen bketelsen deleted the feat/execute branch April 22, 2021 13:26
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants