Package

com.concurrentthought.cla

examples

Permalink

package examples

Visibility
  1. Public
  2. All

Value Members

  1. object CLASampleMain

    Permalink

    Demonstrates how to use the API.

    Demonstrates how to use the API. Try running with different arguments, including --help. Try running the following examples within SBT:

    run-main com.concurrentthought.cla.examples.CLASampleMain -h
    run -h
    run --help
    run -i /in -o /out -l 4 -p a:b --things x-y|z foo bar baz
    run --in /in --out=/out -l=4 --path "a:b" --things=x-y|z -q foo bar baz

    The last example demonstrates that both argflag value and argflag=value syntax is supported. The "[...]" indicate optional arguments, so in this example, you must specify the input argument and at least one token for "others".

Ungrouped