Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Latest commit

 

History

318 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quarrel

Maven Central Maven Central (snapshot) Codecov Java Version

com.io7m.quarrel

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

Repository Relocation

Development of this project has moved to an open-source but not open-contribution model.

Source code and commits will remain publicly available perpetually, but issues and/or pull requests will be rejected and/or ignored. Additionally, this project will now only be available via a read-only mirror at:

https://codeberg.org/io7m-com/quarrel

quarrel

The quarrel package provides a strict, opinionated command-line argument parser.

Features

  • Strongly-typed access to command-line arguments, for program correctness.
  • Simple and regular command-line parsing for easily understood command-line interfaces.
  • Automatic generation of "help" and "version" commands for command-line interfaces.
  • Detailed, structured, and localized user-facing error messages for clear explanations as to how to use the command-line interfaces correctly.
  • A small, easily auditable codebase with no use of reflection or annotations.
  • An extensive automated test suite with high coverage.
  • Supplies a restricted form of @ syntax, for storing command-line arguments in files.
  • Written in pure Java 21.
  • OSGi-ready.
  • JPMS-ready.
  • ISC license.

Usage

See the documentation.

About

Strict, opinionated, typed command-line argument parser.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages