# c4spar/cliffy

A TypeScript-first, runtime-agnostic command-line toolkit for building complex   CLIs — featuring a command framework, argument parser, interactive prompts,   tables, ANSI utilities, and more.

Repository: https://github.com/c4spar/cliffy
Canonical: https://ross.abutalabs.com/products/cliffy
Homepage: https://cliffy.io
Language: TypeScript
License: MIT
License Family: permissive
Topics: deno, cli, typescript, command-line, argument-parser, cli-framework, prompts, cli-table, ansi-escape, cli-cursor, prompt
Last push: 2026-08-16T22:15:31+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 87, longevity 100
- inputs: {"age_days": 2368, "days_push": 17, "days_rel": 90, "gap_med": 20.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1175, forks 81 (observed 2026-08-28T04:03:52.380407+00:00)

## What it is
Cliffy is a TypeScript-first, runtime-agnostic toolkit for building complex command-line applications on Deno, Node, and Bun. It provides a command framework, argument parser, interactive prompts, table builder, ANSI escape utilities, and keypress handling.

## Use cases
- build a complex CLI with subcommands and type-safe options
- parse command line arguments and flags in TypeScript
- create interactive prompts with validation and autocompletion
- render unicode tables in the terminal
- add shell completions and auto-generated help to a CLI
- handle raw keypress events in a terminal app

## When to choose
- you want a TypeScript-first CLI framework that works across Deno, Node, and Bun
- you need interactive prompts, tables, and ANSI utilities from one toolkit
- you want auto-generated help, input validation, and shell completions out of the box

## When to avoid
- you only need a minimal argument parser without a full framework
- you are building a GUI or web app rather than a terminal tool
- your project is not TypeScript/JavaScript based

## Facets
- artifact type: framework
- maturity: active
- function: cli, parser, middleware, testing, developer-tools
- domain: developer-tools
- platform: bun, cross-platform, cli
- tags: cli-framework, interactive-prompts, ansi-escape, terminal-tables, shell-completions, type-safe, argument-parsing, keypress, command-line, automation, deno, nodejs

## Member repositories
- c4spar/cliffy (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.380407+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:27:04.076245+00:00, confidence not recorded.
  - readme: https://github.com/c4spar/cliffy (fetched 2026-08-28T04:03:52.380407+00:00, sha 1156612932e3)
  - homepage: https://cliffy.io (fetched 2026-08-29T12:33:14.507224+00:00, sha 3d6ec92f5c67)
  - site_page: https://cliffy.io/docs (fetched 2026-08-29T12:33:14.509733+00:00, sha 5304899a7436)
- Data as of 2026-08-30T08:39:29.467469+00:00.
