Description

AddCommands adds all of the "srclib ..." subcommands (toolchain, tool, make, etc.) as subcommands on c.

It is used to create the "srclib" command, but it can also be used to mount the srclib CLI underneath any other CLI tool's command, such as "mytool srclib ...".

AddCommands is referenced in 1 repository

github.com/sourcegraph/srclib