owl

command module
v0.0.0-...-d9d5c9a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

owl

A CLI tool for exploring OpenAPI spec files from the terminal.

Installation

go install github.com/rmakiyama/owl@latest

Or build from source:

git clone https://github.com/rmakiyama/owl.git
cd owl
go build -o owl .

Usage

owl [--file <path>] [--output text|json|yaml] <command>
Spec File Resolution

owl looks for a spec file in this order:

  1. --file / -f flag
  2. OWL_SPEC environment variable
  3. Auto-detection in the current directory (openapi.yaml, openapi.yml, openapi.json, swagger.yaml, swagger.yml, swagger.json)
Global Flags
Flag Short Description
--file -f Path to OpenAPI spec file
--output -o Output format: text (default), json, yaml
Commands
tags — List all tags
owl tags

Shows all tags with their endpoint counts and descriptions.

ls — List all endpoints
owl ls
owl ls --tag users
Flag Short Description
--tag -t Filter endpoints by tag
search — Search endpoints by keyword
owl search user
owl search --path login
owl search --desc authentication

Searches across paths, summaries, descriptions, parameter names, and request body properties. Matching keywords are highlighted in the output.

Flag Short Description
--path -p Search paths only
--desc -d Search summary/description only
show — Show operation details
owl show GET /users/{id}

Displays full details for a specific operation: summary, description, parameters, request body schema, and responses with their schemas.

Output Formats

The default text format renders colored tables in the terminal. Use --output json or --output yaml for machine-readable output:

owl ls -o json
owl show GET /users -o yaml

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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