Skip to content

CLI Reference

Library Insight provides a rich CLI to scan, query, analyze, and manage API indices. The CLI commands are organized into the following functional categories:

Command Categories

  • Scanners & Indexing: Initialize index databases, scan compiled binaries or source directories, manage cached coordinates, and perform CLI updates.
  • API Explorer & Lookup: Search for packages, classes, methods, and properties, print detailed structural reports, or generate usage templates.
  • Analysis & Diagnostics: Audit project dependencies, trace method call graphs, check package complexity metrics, or diagnose environment configuration health.
  • Versioning & Migration: Diff public APIs between versions, verify SemVer compliance, and generate API usage migration advisors.
  • Maven & Dependency Resolution: Resolve transitive dependency trees, search Central repositories, and analyze platform target mapping.
  • AI Context & Integration: Launch a stdio Model Context Protocol (MCP) server, export compact token-optimized LLM context folders, or install AI Agent Skills.

Installation & Setup

For installation instructions and environment setup, see the Getting Started guide.