buf beta convert update #1512
joshcarp
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The form of
buf beta convert
will be updated in order to reduce ambiguity and simplify usage.The changes being made are:
--input
flag is being renamed to--from
--output
flag is being renamed to--to
buf.build/<org>/<name>#<TypeName>
are no longer supported for the--type
flagThe current structure of buf beta convert is:
The new structure is now
This new structure clarifies that the argument can be the same input as any other buf command, including BSR modules and built binaries. The
--from
and--to
flags hold the same symmetry as the current flags but there is no overlap of--input
with inputs to other buf commands.Along with this change fully qualified type names are being removed:
Fully qualified type names are in the form
buf.build/<org>/<name>#<TypeName>
and can currently be passed into the--type
field. Instead theinput
argument should be populated with the desired modulebuf.build/<org>/<name>
and the--type
flag should be populated with<TypeName>
Old command examples vs new command examples
Beta Was this translation helpful? Give feedback.
All reactions