Argot is a command-line parser library for Scala, supporting:
- single-value and multi-value options
- single-value and multi-value parameters
- flag and non-flag options
- GNU-style long options, i.e., "--option")
- POSIX-style short options, i.e., single "-" lead-in, with option
grouping (e.g., "
tar -xcf foo.tgz
") - automatic parameter conversion (i.e., values with non-string types, with automatic conversion)
- the ability to supply your own conversion functions
For more information, see the Argot home page.