decline
decline: A typed, composable Scala CLI parser with subcommands, validation and Cats integrations. Ranked #40 of 60 in Command-Line Interface Frameworks by our editors (5.2/10); pricing: Free plan; best for scala CLIs integrated with Cats Effect.
At a glance
- Editor score5.2 / 10
- PricingFree plan
- Best forScala CLIs integrated with Cats Effect
- Free planYes
- Paid fromFree
- Facts checked17 Nov 2026
Where it wins
- Composable typed parsers support flags, options and positional arguments
- Nested subcommands, validation and generated help/error text
- Cats Effect, Scala.js and Scala Native integrations
Where it doesn't
- Documentation is the stated support channel
- The API is designed for Scala, limiting language portability
- Its scope focuses on parsing rather than broader CLI application features
Our verdict on decline
decline is an open-source Scala library for building command-line interfaces. It targets developers who need typed parsing for flags, options, positional arguments and hierarchical subcommands. Its API combines composable parsers with mutually exclusive alternatives, custom validation, environment-variable parsing and generated usage or error messages. Typed argument instances cover standard and custom types, giving Scala applications a structured way to turn command-line input into domain values.
Cats ecosystem support is a central part of the fit. decline provides Cats Effect CommandIOApp integration and lists Cats and Cats Effect among its integrations. The project also documents Scala.js and Scala Native support, so applications can target JVM, Node.js or native environments. This combination suits Scala teams standardizing CLI behavior across functional applications or multiple deployment targets, while the typed API keeps argument handling aligned with Scala types.
The project is released as open source under the Apache License 2.0 and has a free plan. Documentation includes dependency examples, and the feature set stays focused on command-line parsing rather than a wider application framework. That narrow scope is useful when you want composable definitions, nested commands, environment binding, validation and generated help without assembling those pieces yourself. Choose decline for Scala command-line tools, especially those using Cats Effect or cross-platform Scala targets. Teams building in another language, or seeking broader CLI application services beyond parsing and command structure, should look for a framework aligned with those needs.
Your product? Our editors can test decline in depth and publish a review, labelled as paid · from $149/mo →
decline pricing
decline fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Shell completion | Not verified |
| Nested subcommands | Yes |
| Code generation | Not verified |
| Config file support | Not verified |
| Environment variables | Yes |
| Typed API | Yes |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 4 integrations: Cats, Cats Effect, Scala.js, Scala Native |
| Pricing | Free plan |
| Website | ben.kirw.in |
| Facts checked | 17 Nov 2026 |
decline integrations
decline lists 4 integrations on its own site.
- Cats
- Cats Effect
- Scala.js
- Scala Native
Alternatives to decline
- ClapA free Rust crate with typed parsing, nested commands, validation, and completions.9.4
- ClickA free, open-source toolkit for typed, nested Python command-line applications.9.3
- TyperFree, open-source typed CLI framework with nesting, completions, and configuration support.9.2
See all decline alternatives →
Used decline? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used decline for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
decline is listed in our Command-Line Interface Frameworks directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/decline/"><img src="https://www.itechguides.com/best/badge/decline.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update