modifying cue with cue commands (aka workflows)? #3657
Unanswered
nfi-hashicorp
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @nfi-hashicorp - #1852 tracks adding a
This should be possible by writing a workflow that use Please can you post a bit more detail about the kind of transformation you're looking to perform? We can then see whether such a "wrapper" will meet your needs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working through the Github Actions example, fiddling around with Cue. I imported the YAML successfully and am round-tripping fine.
I introduced a shared db of external actions and their versions so that I can centralize that version info, similar to a
go.mod
file. I was hoping to change my Cue source programatically to use this new construct by writing a new cue command (aka workflow aka tool) that changes the Cue source itself. But alas, there does not appear to be any functionality to do so? e.g., anencoding/cue
package.Yes, I'm sure it could be done with the Go API, but seems like a missed opportunity.
Beta Was this translation helpful? Give feedback.
All reactions