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

cli: Make loaders work independent of disk state #80

Merged
merged 2 commits into from
Oct 27, 2022
Merged

Conversation

sdboyer
Copy link
Contributor

@sdboyer sdboyer commented Oct 27, 2022

This was just a horrifying situation. This should just about do it - though in a follow-up, i'll need to make Go bindings generators aware of the new improvements and generate smarter embed.FS declarations.

Unfortunately, this doesn't do anything really reusable with the load package. Turns out, sensitivity to cwd makes the CLI case really different from the "run the binary anywhere" case. Or at least, it's seemed to so far, enough to discourage reuse.

Fixes #79

@sdboyer sdboyer added the bug Something isn't working label Oct 27, 2022
@sdboyer sdboyer self-assigned this Oct 27, 2022
@sdboyer sdboyer merged commit 37783f0 into main Oct 27, 2022
mildwonkey pushed a commit that referenced this pull request May 1, 2023
cli: Make loaders work independent of disk state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make thema commands work independent of cue.mod on disk
1 participant