Skip to content

RichTea wrapper for commons-cli (command line argument processing library)

Notifications You must be signed in to change notification settings

RichTeaLang/lib-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RichTea-Cli Module

RichTea module which wraps the commons-cli java library.

Example

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 }")

About

RichTea wrapper for commons-cli (command line argument processing library)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published