This repository contains code for a unified command line tool for Google Cloud SDK client library configuration, generation and releasing.
See CONTRIBUTING.md for a guide to contributing to this repository, and the doc/ folder for more detailed project documentation.
The Librarian project supports the Google Cloud SDK ecosystem, and we do not expect it to be of use to external users. That is not intended to discourage anyone from reading the code and documentation; it's only to set expectations. (For example, we're unlikely to accept feature requests for external use cases.)
Install Go and make sure you have you have the
following in your PATH:
export PATH="$(go env GOPATH)/bin:$PATH"Next install the CLI
go install github.com/googleapis/librarian/cmd/librarian@latestTo see the current set of commands available, run:
librarian -helpUse the -help or -h flag for any individual command to see detailed
documentation for its purpose and associated flags. For example:
librarian generate -hAlternatively, if you prefer not to have librarian installed you can use the Go command to run the latest released version:
go run github.com/googleapis/librarian/cmd/librarian@latest -helpApache 2.0 - See LICENSE for more information.