scala-optparse

Command line option parsing for Scala

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.frugalmechanic
ArtifactId

ArtifactId

scala-optparse_2.9.2
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

scala-optparse
Command line option parsing for Scala
Project Organization

Project Organization

com.frugalmechanic
Source Code Management

Source Code Management

https://github.com/frugalmechanic/scala-optparse

Download scala-optparse_2.9.2

How to add to project

<!-- https://jarcasting.com/artifacts/com.frugalmechanic/scala-optparse_2.9.2/ -->
<dependency>
    <groupId>com.frugalmechanic</groupId>
    <artifactId>scala-optparse_2.9.2</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.frugalmechanic/scala-optparse_2.9.2/
implementation 'com.frugalmechanic:scala-optparse_2.9.2:1.1.1'
// https://jarcasting.com/artifacts/com.frugalmechanic/scala-optparse_2.9.2/
implementation ("com.frugalmechanic:scala-optparse_2.9.2:1.1.1")
'com.frugalmechanic:scala-optparse_2.9.2:jar:1.1.1'
<dependency org="com.frugalmechanic" name="scala-optparse_2.9.2" rev="1.1.1">
  <artifact name="scala-optparse_2.9.2" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.frugalmechanic', module='scala-optparse_2.9.2', version='1.1.1')
)
libraryDependencies += "com.frugalmechanic" % "scala-optparse_2.9.2" % "1.1.1"
[com.frugalmechanic/scala-optparse_2.9.2 "1.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.9.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.9.2 jar 1.8

Project Modules

There are no modules declared in this project.

Scala OptParse

Build Status

Scala OptParse is a simple command line parsing library for Scala

SBT Dependency

libraryDependencies += "com.frugalmechanic" %% "scala-optparse" % "1.1.3"

Example Usage

import com.frugalmechanic.optparse._

object HelloWorldApp extends OptParse {
  val name = StrOpt()

  def main(args:Array[String]) {
    parse(args)
    println("Hello "+name.getOrElse("world"))
  }
}

Authors

Tim Underwood (GitHub, LinkedIn, Twitter)

Copyright

Copyright Frugal Mechanic

License

Apache License, Version 2.0

Links

com.frugalmechanic

Frugal Mechanic

Versions

Version
1.1.1