librepl

Official

Build interactive CLIs with a DI-REPL.

Authorcopilot-ld
Version1.0.0
Installs0

System Documentation

librepl - Interactive REPL utilities. Repl class creates command-line interfaces with custom commands, state persistence, and terminal formatting. Supports dependency injection for testability. Use for building CLI tools, interactive debugging interfaces, and developer utilities.

What problem does it solve?

Solves the challenge of building interactive CLIs by offering a dependency-injected REPL with pluggable commands and persistent state.

Core Features & Use Cases

  • Interactive CLI scaffolding: Create commands, handle input, and format output.
  • State persistence: Persist configuration and runtime state across sessions via a storage hook.
  • Testability and DI: Dependency injection for easy testing and modular tooling.
  • Use Case: Quickly prototype debugging shells or CLI utilities for internal tools.

Quick Start

Install @copilot-ld/librepl, import Repl, configure a prompt and commands, and call start() to launch the interactive interface.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: librepl
Download link: https://github.com/copilot-ld/copilot-ld/archive/main.zip#librepl

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.