Clio is an argument-parsing library designed for building elegant command-line interfaces. Argument-parsing libraries tend to be fiddly, complicated, and ugly. Clio aims for simplicity and for consistency across a range of programming languages.
Clio is implemented in:
All implementations support the same core feature set:
Long-form boolean flags with single-character shortcuts:
Long-form string, integer, and floating-point options with single-character shortcuts:
Condensed short-form options:
-abc <arg> <arg>.
Support for list options with multiple values.
Support for git-style command interfaces with arbitrarily-nested commands.
This work has been placed in the public domain.