cli-guidelines/cli-guidelines resource
A guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day. observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 82
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2321
- days_rel: n/a
- days_push: 109
- n_releases_24m: 0
Adoption not part of the score
3829 stars · 121 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An open-source guide (clig.dev) teaching how to write better command-line programs by updating traditional UNIX principles for modern usage. The repository contains the Markdown source of the guide and the Hugo site that publishes it.
Use cases
- learn how to design a good command-line interface
- guidelines for CLI argument parsing and error messages
- best practices for building developer CLI tools
- modern take on UNIX command-line principles
- checklist for reviewing a CLI tool's UX
- advice on output formatting, colors, and exit codes for CLIs
When to choose
- you are building or reviewing a command-line tool and want authoritative UX guidance
- you want a concise, community-vetted reference on CLI conventions
- you need a resource to share with a team writing CLI software
When to avoid
- you need a library or framework that implements CLI parsing for you
- you want GUI or web UX guidelines rather than terminal-focused advice
- you need a formal specification rather than practical guidance
Facets
learning-resource · maturity active
documentation developer-tools cli developer-tools documentation tutorials cli cross-platform cli-design unix-philosophy guide hugo best-practices ux-writing command-line web-server
2 sources
- readme: https://github.com/cli-guidelines/cli-guidelines · fetched 2026-08-28 · df1a8d1f6f09
- homepage: https://clig.dev · fetched 2026-08-29 · 881c51165965
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cli-guidelines/cli-guidelines | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="cli-guidelines/cli-guidelines")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem