Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package filez
    Definition Classes
    com
  • package scala
    Definition Classes
    filez
  • package getopt

    POSIX getopt(3) command line argument parser with GNU '--' extension.

    POSIX getopt(3) command line argument parser with GNU '--' extension.

    Definition Classes
    scala
    Version

    1.1

  • getopt

package getopt

POSIX getopt(3) command line argument parser with GNU '--' extension.

Version

1.1

Linear Supertypes
AnyRef, Any

Type Members

  1. class getopt extends AnyRef

    POSIX getopt(3) parser with GNU extension '--', but without long options.

    POSIX getopt(3) parser with GNU extension '--', but without long options.

    Example:
    1. import com.filez.scala.getopt.getopt
      
      object Example extends App {
         protected val g = new getopt(args, "ab:c")
         g.options.get('b').foreach{ arg => println(s"-b arg value is $arg") }
      }
    Version

    1.1

    Since

    1.0

    Exceptions thrown

    java.lang.IllegalArgumentException if input parameters are invalid

    java.lang.NoSuchElementException if option is unknown or parameter is missing. Strict mode only.

Inherited from AnyRef

Inherited from Any

Ungrouped