ReplSkin (utils/repl_skin.py)

CLI-Anything · adguardhome/agent-harness/cli_anything/adguardhome/utils/repl_skin.py · python · Apache-2.0
cli

cli-anything REPL Skin — Unified terminal interface for all CLI harnesses. Copy this file into your CLI package at: cli_anything/<software>/utils/repl_skin.py Usage: from cli_anything.<software>.utils.repl_skin import ReplSkin skin = ReplSkin("shotcut", version="1.0.0") skin.prin

# Source: https://github.com/HKUDS/CLI-Anything | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""cli-anything REPL Skin — Unified terminal interface for all CLI harnesses.

Copy this file into your CLI package at:
    cli_anything/<software>/utils/repl_skin.py

Usage:
    from cli_anything.<software>.utils.repl_skin import ReplSkin

    skin = ReplSkin("shotcut", version="1.0.0")
    skin.print_banner()  # auto-detects repo-root or packaged SKILL.md
    prompt_text = skin.prompt(project_name="my_video.mlt", modified=True)
    skin.success("Project saved")
    skin.error("File not found")
    skin.warning("Unsaved changes")
    skin.info("Processing 24 clips...")
    skin.status("

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key