OS Manuals

/usr/bin/codegen

All the binaries built by Vitess

From vitess-23-binaries 23.0.4-r5 (os), captured 2026-11-05 by running codegen --help (exit 0). permalink

Also provided by 5 other package versions
Usage of /usr/bin/codegen:
      --impl string        type implementing the interface (default "gRPCVtctldClient")
      --local              generate a local, in-process client rather than a grpcclient
      --out string         output destination. leave empty to use stdout
      --source string      source package (default "../../proto/vtctlservice")
      --targetpkg string   package name to generate code for (default "grpcvtctldclient")
      --type string        interface type to implement (default "VtctldClient")
Options (6)
OptionDescriptionSource
--impl stringtype implementing the interface (default "gRPCVtctldClient")help
--localgenerate a local, in-process client rather than a grpcclienthelp
--out stringoutput destination.help
--source stringsource package (default "../../proto/vtctlservice")help
--targetpkg stringpackage name to generate code for (default "grpcvtctldclient")help
--type stringinterface type to implement (default "VtctldClient")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.