# srsudar/eg

Useful examples at the command line.

Repository: https://github.com/srsudar/eg
Canonical: https://ross.abutalabs.com/products/eg
Language: Python
License: MIT
License Family: permissive
Last push: 2025-02-06T16:56:22+00:00

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

## Adoption (not part of the score)
Stars 2040, forks 111 (observed 2026-08-28T04:06:08.505321+00:00)

## What it is
eg is a Python command-line tool that shows practical usage examples for common Unix commands, acting as a companion to man pages. Examples are stored as markdown files and displayed through a pager, with support for custom example directories.

## Use cases
- show usage examples for a command like find or tar
- quickly recall common command line flags without reading man pages
- look up how to untar a bzipped tarball
- list all commands with available examples
- add custom team-specific command examples

## When to choose
- you want curated, practical examples instead of exhaustive man pages
- you frequently forget syntax for commands like tar or find
- you want a lightweight, dependency-free pip or brew install

## When to avoid
- you need full documentation of every flag and option
- you need an interactive shell or command builder
- the command you need examples for has no example file yet

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, documentation, developer-tools
- domain: developer-tools, documentation
- platform: cli, windows, cross-platform, python
- tags: man-pages, cheatsheet, command-examples, terminal, command-line, linux, macos

## Member repositories
- srsudar/eg (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.505321+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-30T02:58:22.538399+00:00, confidence not recorded.
  - readme: https://github.com/srsudar/eg (fetched 2026-08-28T04:06:08.505321+00:00, sha a34270ffbf9f)
  - registry_pypi: https://pypi.org/pypi/eg/json (fetched 2026-08-29T10:38:34.227133+00:00, sha ca30ce44548b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
