decline review
A typed, composable Scala CLI parser with subcommands, validation and Cats integrations.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
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.
decline pros and cons
- 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
decline fact sheet, pricing and score →
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