.nh .TH "Buf" "1" "2026-01-19" "Auto generated by spf13/cobra" "" .SH NAME buf-ls-files - List Protobuf files .SH SYNOPSIS \fBbuf ls-files [flags]\fP .SH DESCRIPTION The first argument is the source, module, or image to list from, which must be one of format [binpb,dir,git,json,mod,protofile,tar,txtpb,yaml,zip]. This defaults to "." if no argument is specified. .SH OPTIONS \fB--config\fP="" The buf.yaml file or data to use for configuration .PP \fB--disable-symlinks\fP[=false] Do not follow symlinks when reading sources or configuration from the local filesystem By default, symlinks are followed in this CLI, but never followed on the Buf Schema Registry .PP \fB--exclude-path\fP=[] Exclude specific files or directories, e.g. "proto/a/a.proto", "proto/a" If specified multiple times, the union is taken .PP \fB--format\fP="text" The format to print the .proto files. Must be one of [text,json,import] .PP \fB-h\fP, \fB--help\fP[=false] help for ls-files .PP \fB--include-importable\fP[=false] Include all .proto files that are importable by the input. --include-imports is redundant if this is set .PP \fB--include-imports\fP[=false] Include imports .PP \fB--path\fP=[] Limit to specific files or directories, e.g. "proto/a/a.proto", "proto/a" If specified multiple times, the union is taken .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Turn on debug logging .PP \fB--log-format\fP="color" The log format [text,color,json] .PP \fB--timeout\fP=0s The duration until timing out, setting it to 0 means no timeout .SH SEE ALSO \fBbuf(1)\fP .SH HISTORY 2026-01-19 Auto generated by spf13/cobra