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

Add --reference flag #30

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Add --reference flag #30

merged 1 commit into from
Apr 6, 2024

Conversation

stefanvanburen
Copy link
Owner

Required moving the -r/--registry flag to -d/--domain (thought about --hostname but -h is taken by help).

It currently supports either <owner>/<module> or <owner>/<module>:<ref>. (Maybe we can support just <owner> in the future.) It doesn't currently handle resolved label references because it's unclear how we should view those yet.

Both of the following work:

$ go run . --reference bufbuild/registry:569d290ee4cc4ed38499daf2c4fe39e6
$ go run . --reference bufbuild/registry

Required moving the `-r/--registry` flag to `-d/--domain` (thought about
`--hostname` but `-h` is taken by help).

It currently supports either `<owner>/<module>` or
`<owner>/<module>:<ref>`. (Maybe we can support just `<owner>` in the
future.) It doesn't currently handle resolved label references because
it's unclear how we should view those yet.
@stefanvanburen stefanvanburen merged commit 244a01c into main Apr 6, 2024
1 check passed
@stefanvanburen stefanvanburen deleted the svanburen/reference-flag branch April 6, 2024 14:24
@stefanvanburen stefanvanburen mentioned this pull request Apr 6, 2024
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

Successfully merging this pull request may close these issues.

1 participant