# davetron5000/gli

Make awesome command-line applications the easy way

Repository: https://github.com/davetron5000/gli
Canonical: https://ross.abutalabs.com/products/gli
Homepage: http://davetron5000.github.io/gli
Language: Ruby
License: Apache-2.0
License Family: permissive
Last push: 2025-03-09T15:54:45+00:00

## Health v2 (maintenance only)
Score: 34/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 10, release rhythm 28, longevity 100
- inputs: {"age_days": 6418, "days_push": 542, "days_rel": 583, "gap_med": 46.5, "n_releases_24m": 3}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1274, forks 104 (observed 2026-08-28T04:04:12.752541+00:00)

## What it is
GLI is a Ruby DSL library for building command-suite command-line applications in the style of git or gem. It provides command routing, flags, switches, and automatic help generation while retaining the power of Ruby's built-in OptionParser.

## Use cases
- build a multi-command CLI app in ruby
- create a git-style command suite with subcommands
- generate help and usage output for a CLI tool
- parse global and per-command options in a ruby script
- scaffold a new command-line application project

## When to choose
- you need a CLI with multiple subcommands like git or gem
- you want automatic help, synopsis, and command documentation
- you prefer a simple DSL over hand-rolled OptionParser wiring

## When to avoid
- you need a single-command CLI without subcommands (use optparse-plus instead)
- you are not writing in Ruby
- you need a TUI or interactive terminal UI rather than a command suite

## Facets
- artifact type: library
- maturity: stable
- function: cli, developer-tools
- domain: developer-tools
- platform: ruby, cross-platform, cli
- tags: command-suite, dsl, git-like-interface, optionparser, scaffolding, command-line, automation

## Member repositories
- davetron5000/gli (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.752541+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-30T05:03:06.740380+00:00, confidence not recorded.
  - homepage: http://davetron5000.github.io/gli (fetched 2026-08-29T12:14:10.462843+00:00, sha 4cd084119dd3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
