librarian

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2025 License: Apache-2.0

README

codecov

Librarian CLI

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.)

Running Librarian testing

To see the current set of commands available, run:

go run ./cmd/librarian

Use the -h flag for any individual command to see detailed documentation for its purpose and associated flags. For example:

go run ./cmd/librarian generate -h

Most commands require a language-specific image to be available; there are no such images published at the moment.

See https://pkg.go.dev/github.com/googleapis/librarian/cmd/librarian for additional documentation.

License

Apache 2.0 - See LICENSE for more information.

Directories

Path Synopsis
cmd
automation command
Librarian manages Google API client libraries by automating onboarding, regeneration, and release.
Librarian manages Google API client libraries by automating onboarding, regeneration, and release.
librarian command
Librarian manages Google API client libraries by automating onboarding, regeneration, and release.
Librarian manages Google API client libraries by automating onboarding, regeneration, and release.
sidekick command
internal
cli
Package cli defines a lightweight framework for building CLI commands.
Package cli defines a lightweight framework for building CLI commands.
config
Package config defines configuration used by the CLI.
Package config defines configuration used by the CLI.
docker
Package docker provides the interface for running language-specific Docker containers which conform to the Librarian container contract.
Package docker provides the interface for running language-specific Docker containers which conform to the Librarian container contract.
github
Package github provides operations on GitHub repos, abstracting away go-github (at least somewhat) to only the operations Librarian needs.
Package github provides operations on GitHub repos, abstracting away go-github (at least somewhat) to only the operations Librarian needs.
gitrepo
Package gitrepo provides operations on git repos.
Package gitrepo provides operations on git repos.
librarian
Package librarian contains the business logic for the Librarian CLI.
Package librarian contains the business logic for the Librarian CLI.
sidekick
Package sidekick provides functionality for automating code generation.
Package sidekick provides functionality for automating code generation.
sidekick/internal/config
Package config provides functionality for working with the sidekick.toml configuration file.
Package config provides functionality for working with the sidekick.toml configuration file.
sidekick/internal/parser
Package parser reads specifications and converts them into the `genclient.API` model.
Package parser reads specifications and converts them into the `genclient.API` model.
sidekick/internal/parser/svcconfig
serviceconfig contains helper functions to parse service config files.
serviceconfig contains helper functions to parse service config files.
sidekick/internal/sample
Package sample provides sample data for testing.
Package sample provides sample data for testing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL