stefanvanburen / buftui

TUI for the Buf Schema Registry
https://buf.build/bufbuild/registry
1 stars 0 forks source link

Handle implied hostname in `--registry` flag? #31

Closed stefanvanburen closed 6 months ago

stefanvanburen commented 7 months ago

If we get a reference that looks like:

<hostname|domain>/<owner>/<module>{,:<reference>}

And the --domain flag is not set , it seems like we should be able to support that by overriding the domain. Alternatively, if the --domain flag is set, just confirm that it matches the domain of the reference, or otherwise blow up (we don't want --domain buf.build --reference other.bsr/module/owner).