buf
buf copied to clipboard
Add `buf export --all` flag that provides all files
Feature
Right now buf export only returns proto sources. We want to add an --all flag that would return all other files included for the input, such as docs and license files.
buf export by default includes imports -- for imports, non-proto files will not be included with the --all flag. The --all flag is meant only for the input/target module(s).
--all is compatible with --exclude-imports: non-proto files for the input will be returned, and the imports will be excluded in that case.