leejarvis/slop
Simple Lightweight Option Parsing - ✨ new contributors welcome ✨ observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 45
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5759
- days_rel: n/a
- days_push: 331
- n_releases_24m: 0
Adoption not part of the score
1126 stars · 72 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Slop is a simple, lightweight command-line option parser for Ruby with an easy-to-remember syntax and friendly API. It supports typed options (string, integer, bool, etc.), defaults, required flags, and custom option types.
Use cases
- parse command-line flags in a ruby script
- build a CLI tool with options and subcommands
- define required and optional arguments with defaults
- parse boolean flags and typed values like integers
- add a --version flag to a command-line app
- replace optparse with a friendlier API
When to choose
- you're writing a Ruby CLI and want minimal, readable option parsing
- you want built-in typed options and sensible defaults
- you're a beginner looking for an approachable parser
When to avoid
- you need complex subcommand routing or advanced CLI frameworks like thor
- you're not working in Ruby
- you need extremely high-performance argument parsing
Facets
library · maturity active
cli parser developer-tools developer-tools ruby cli cross-platform option-parsing argument-parsing command-line-interfaces beginner-friendly gem command-line ruby
1 source
- readme: https://github.com/leejarvis/slop · fetched 2026-08-28 · c730223d6f0f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leejarvis/slop | main | 52 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem