xenomachina / kotlin-argparser-example

A simple example application that demonstrates how to use kotlin-argparser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlin-argparser-example

Build Status License: Unlicense

This repo contains a simple example application that demonstrates how to use the kotlin-argparser library.

To build it, execute the gradle task installDist:

$ ./gradlew installDist

The wrapper scripts will be created in build/install/kotlin-argparser-example/bin/:

$ cd build/install/kotlin-argparser-example/bin

Execute kotlin-argparser-example to try it out. For example, to display the help message:

$ ./kotlin-argparser-example --help

Or to use the application:

$ ./kotlin-argparser-example --fast --size 5 here there everywhere
verbose =     false
name =        John Doe
size =        5
includeDirs = []
optimizeFor = FAST
sources =     [here, there]
destination = everywhere

About

A simple example application that demonstrates how to use kotlin-argparser

License:The Unlicense


Languages

Language:Kotlin 100.0%