Registry / cli / scallop-2-11

scallop-2-11

JSON →
library6.0.0javamavenunverified

A simple Scala command-line argument parsing library that provides a declarative API for defining CLI options.

<dependency> <groupId>org.rogach</groupId> <artifactId>scallop_2.11</artifactId> <version>6.0.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALLOP-2-11
S
scallop-2-11
clijavav6.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ScallopConf
org.rogach.scallop.ScallopConf

Defines a CLI configuration with a required name option.

import org.rogach.scallop.ScallopConf; class Conf extends ScallopConf { val name = opt[String](required = true) verify() } object Main extends App { val conf = new Conf(args) println(conf.name()) }
Debug
Known issues
breakingScala version compatibility: scallop_2.11 is compiled for Scala 2.11, which may cause binary incompatibility with other Scala versions.
fix
Use the appropriate artifact for your Scala version (e.g., scallop_2.13 for Scala 2.13).
affects: all
Upgrade
Version history
6.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
scallop-2-11 — mvn dependency:get scallop-2-11 · libregistry