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

restructure/clean up extract subcommand and extract pkg/yamlquery #151

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

timburks
Copy link
Contributor

@timburks timburks commented Feb 23, 2023

This removes unneeded print statements from registry-experimental extract and pulls the yaml querying functions out into a separate package so they can be easily reused (I had already copied them into an external project and this will replace that copied code).

The purpose of pkg/yamlquery is to make it easy to pull values out of YAML structures created by the yaml/v3 package. There might be other packages that do this, but I didn't see them, and this is lightweight and easy to modify (and we can toss it if we do find a replacement).

I created an issue for testing the new package (#152).

@timburks timburks merged commit 917d125 into apigee:main Feb 23, 2023
@timburks timburks deleted the pkg-yamlquery branch September 18, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants