args 3.0.0 API

TODO .

  • Read system.in (check if there is input piped from other command)

  • Parse command line tokens into options and positional parameters

  • Check command line definition for invalid options, etc.

  • Apply defaults: option defaults, defaults in configuration files -user dir, and current dir-

  • Check missing options: fail if no interactive, ask for input if interactive

  • Return result

  • Support - and --

  • Take care of environment variables and .env files in current dir

  • Support interactive settings prompt if mandatory options are missing

  • Support @files for long list of parameters

Program, can have stream input, config files (XDG dirs), and parameters

Check: https://clig.dev/#the-basics

TODO Handle standard options like --help, help command -q --quiet, -v verbose, etc.

TODO Control rendering with flags on ArgsManager

TODO Check documentation rendering of http (httpie) and sdk (sdkman)

=== "build.gradle"

```groovy
repositories {
    mavenCentral()
}

implementation("com.hexagonkt.extra:args:$hexagonVersion")
```

=== "pom.xml"

```xml
<dependency><groupId>com.hexagonkt.extra</groupId><artifactId>args</artifactId><version>$hexagonVersion</version></dependency>
```

See: Description

Packages 
Package Description
com.hexagonkt.argsTODO .
com.hexagonkt.args.formatter