General implementation for an argument.
General trait for an argument.
Testable main trait with a configurable file CLI implementation.
Testable main trait with a configurable file CLI implementation.
Combine testability with modularity.
CLI parser most general trait.
Configuration file based CLI parser.
GNU style argument.
GNU style argument. Requirements are assured by the parser.
GNU Compliant argument parser.
GNU Compliant argument parser.
Standard parser.
Provide a testable main interface: Read lines, process and output lines.
Companion object for GNUArg.
Companion object for GNUParser.
Parse a CLI config file.
Parse a CLI config file. This file consists of:
1. Empty lines.
2. Comment lines: Starting with spaces followed by '#'.
3. A 'name:' followed by nested (space indented) attributes.
Mandatory attributes:
a. 'help:': the help text. b. 'n:': the number of subsequent arguments to be parsed. c. 'type:': data type of the parsed arguments.
Example:
name: debug
n: 0
type: int
help: Help text.
name: verbose
n: 0
type: int
help: Help text.
This design is influenced by <https://github.com/fpinscala/fpinscala>.
Companion object for StandardParser.
Provide utilities to parse, check and manipulate CLI arguments.