package conf
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- conf
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- object ParserConfigFile extends Parser[Path, ParserCLI]
Get a CLI parser from a config file.
Get a CLI parser from a config file.
The config file is comprised of:
- Comments.
- CLI option sections.
- name (required): the long name of the cli parameter.
- n (required): how many positions it should consume from the command line scala.collections.immutable.Seq.
- description (required): the description of the parameter.
- default (optional): a comma separated list of default options.
- type (not implemented): the type of this parameter (e.g. list of ints, int, float, etc). This is not implemented because I think a lot of complexity will come out of this.
An example of such a config file can be found here.
One of the few publicly accessible objects in this package.