RichTea module which wraps the commons-cli java library.
Import("*" from:"path/to/cli_module");
Let(cli:@CommandLine({
Option("in" desc:"Input file" numberOfArgs:1 required:true)
Option("debug" desc:"Debug mode")
} parseError {
SystemExit(1)
}))
Print("In = { cli.in.value }, Debug = { cli.debug.value }")