cli

module
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0

README

FOASCLI

FOASCLI is a Go-based CLI tool that provides commands for generating the Federated OpenAPI specification and the API changelog.

Build From Source
Fetch Source
git clone https://github.com/mongodb/openapi.git
cd openapi/tools/cli
Build

To build foascli, run:

make build

The resulting foascli binary is placed in ./bin.

Usage

To get a list of available commands, run foascli help.

Setup Environment

To set up the development environment, run:

make setup
Run tests

To run unit and e2e tests, run:

make lint && unit-test && e2e-test

Contributing

See our CONTRIBUTING.md guide.

Directories

Path Synopsis
internal
openapi
Package openapi is a generated GoMock package.
Package openapi is a generated GoMock package.
openapi/filter
Package filter is a generated GoMock package.
Package filter is a generated GoMock package.
pkg
apiversion
Package apiversion exposes API version parsing utilities for use outside the cli module.
Package apiversion exposes API version parsing utilities for use outside the cli module.
openapi
Package openapi provides public interfaces for loading and saving OpenAPI specifications.
Package openapi provides public interfaces for loading and saving OpenAPI specifications.
test

Jump to

Keyboard shortcuts

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