Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added ability for wick reg pull to pull to the local dir (vs module hierarchy) #439

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

jsoverson
Copy link
Contributor

This PR adds a few options to the fetch options so that wick reg pull can optionally pull directly to the local directory vs. pulling everything to the standard wick module hierarchy, i.e.:

Instead of

$ wick reg pull common/azureblob:0.5.0
Pulled file:
- ./registry.candle.dev/common/azureblob/0.5.0/azureblob.wick
- ./registry.candle.dev/common/azureblob/0.5.0/azureblob-http-client.wick

You can add -F (for flatten) to get:

$ wick reg pull common/azureblob:0.5.0 -F
Pulled file:
- ./azureblob.wick
- ./azureblob-http-client.wick

This makes it easier to use existing registry components as templates to jump off of.

Base automatically changed from lax-liquid to main September 14, 2023 13:58
@jsoverson jsoverson merged commit 398a034 into main Sep 14, 2023
@jsoverson jsoverson deleted the wick-pull-redux branch September 14, 2023 13:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants