CommandLine

The parser for options, arguments, and parameters passed on the command line.

This class parses an array of strings (as might appear as arguments on the command line). The resulting object has properties for all the options provided. If an option is not provided, and it is not required, the value of the corresponding property will be null.

Types

Link copied to clipboard
object Companion

Provides a static method to create a CommandLine from a list of arguments. You cannot instantiate a CommandLine directly.

Properties

Link copied to clipboard
val args: Array<out String>

The array of command line arguments to parse.