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

hof/cue: exporting json + pkg/foo.#def easily from the CLI #230

Open
verdverm opened this issue May 24, 2023 · 1 comment
Open

hof/cue: exporting json + pkg/foo.#def easily from the CLI #230

verdverm opened this issue May 24, 2023 · 1 comment

Comments

@verdverm
Copy link
Member

What feature would you like?

currently i have a json file with a single object, and i'd like to apply a #Def from another package and export a new json file after that def has been applied

Is your feature request related to a problem you are experiencing? Please describe.

insufficient args & flags to accomplish this in a one liner

@verdverm
Copy link
Member Author

@jpluscplusm this should be working now, if you can do it with cue eval, you can do it with hof eval. If not, there are some hof gen one liners that can too with slightly different arg/flag semantics, but same effect this quote of yours is after

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

No branches or pull requests

1 participant