# Shopify/cli-ui

CLI tooling framework with simple interactive widgets

Repository: https://github.com/Shopify/cli-ui
Canonical: https://ross.abutalabs.com/products/cli-ui
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-17T18:14:07+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3381, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1131, forks 57 (observed 2026-08-28T04:03:42.431571+00:00)

## What it is
CLI UI is a Ruby framework for building polished command-line user interfaces with interactive widgets. It provides nested framing, interactive prompts, spinner groups, and colored text formatting for terminal applications.

## Use cases
- build interactive command-line prompts with arrow key selection
- add spinners to long-running CLI tasks
- format colored text output in the terminal
- create nested frames for structured CLI output
- ask users free-form text questions in a CLI tool
- run multiple background tasks with progress spinners

## When to choose
- you are building a Ruby CLI tool and want polished interactive UI widgets
- you need multi-select or filterable terminal prompts
- you want spinner groups for concurrent CLI tasks

## When to avoid
- you are not working in Ruby
- you need a full TUI framework with windows and mouse support
- you only need simple colored output without interactivity

## Facets
- artifact type: library
- maturity: stable
- function: cli, terminal-ui, gui
- domain: developer-tools, cross-platform
- platform: ruby, cli, cross-platform
- tags: interactive-prompts, spinners, text-formatting, nested-frames, ruby-gem, command-line

## Member repositories
- Shopify/cli-ui (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.431571+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:38:00.618752+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/cli-ui (fetched 2026-08-28T04:03:42.431571+00:00, sha f174034ab4fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
