General (non GNU as of now) argument.
General (non GNU as of now) argument.
Requirements are assured by the parser.
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 Arg.
Companion object for GNUArg.
Companion object for GNUParser.
New design of parsers:
New design of parsers:
1. KISS principle.
1. Proof of concept stage.
1. Parsers must be able to be combined to form more advanced parsers.
1. In this case a parser is a String => Option[Map[String, String]].
1. A parser can fail. Maybe Option[String] is a better approach.
1. In this the types are:
a. Empty line.
b. Comment line (starts with a #).
c. Sequence of non spaces terminated with ": " followed by a string.
Companion object for StandardParser.
Provide utilities to parse, check and manipulate CLI arguments.