cli-docs-tool/example
..
README.md
go.mod
go.sum
main.go

README.md

Example

The following example will generate all supported docs for Docker buildx CLI.

git clone https://github.com/docker/cli-docs-tool
cd cli-docs-tool/example/
go mod download
go run main.go

Generated docs will be available in ./docs