com.github.brunoais.CliArgsParser

This project is a feature-lean implementation of a CLI arguments parser. Just start by creating an instance of ParseArgs and follow the available methods. E.g. ParseArgs when = new ParseArgs(); when.argument("-do").spaceValue().call(this::doArgument); when.argument(null).call(this::defaultArgument); when.parse(args);

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.github.brunoais
ArtifactId

ArtifactId

cli-args-parser
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.brunoais.CliArgsParser
This project is a feature-lean implementation of a CLI arguments parser. Just start by creating an instance of ParseArgs and follow the available methods. E.g. ParseArgs when = new ParseArgs(); when.argument("-do").spaceValue().call(this::doArgument); when.argument(null).call(this::defaultArgument); when.parse(args);
Project URL

Project URL

https://github.com/brunoais/CliArgsParser
Source Code Management

Source Code Management

https://github.com/brunoais/CliArgsParser

Download cli-args-parser

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.brunoais/cli-args-parser/ -->
<dependency>
    <groupId>com.github.brunoais</groupId>
    <artifactId>cli-args-parser</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.brunoais/cli-args-parser/
implementation 'com.github.brunoais:cli-args-parser:0.3.0'
// https://jarcasting.com/artifacts/com.github.brunoais/cli-args-parser/
implementation ("com.github.brunoais:cli-args-parser:0.3.0")
'com.github.brunoais:cli-args-parser:jar:0.3.0'
<dependency org="com.github.brunoais" name="cli-args-parser" rev="0.3.0">
  <artifact name="cli-args-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.brunoais', module='cli-args-parser', version='0.3.0')
)
libraryDependencies += "com.github.brunoais" % "cli-args-parser" % "0.3.0"
[com.github.brunoais/cli-args-parser "0.3.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.12

test (2)

Group / Artifact Type Version
org.slf4j : slf4j-simple jar 1.7.12
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Versions

Version
0.3.0
0.2.2
0.2.1