class CommandLine

Stupid command line arguments parser.

Constants

Argument

Optional

Repeatable

Enum

Realpath

Normalizer

Value

Methods

__construct(string $help, array $defaults = [])

No description

array
parse(array|null $args = null)

No description

void
help()

No description

void
checkArg(array $opt, $arg)

No description

bool
isEmpty()

No description

Details

at line 40
__construct(string $help, array $defaults = [])

No description

Parameters

string $help
array $defaults

at line 74
array parse(array|null $args = null)

No description

Parameters

array|null $args

Return Value

array

at line 164
void help()

No description

Return Value

void

at line 170
void checkArg(array $opt, $arg)

No description

Parameters

array $opt
$arg

Return Value

void

at line 187
bool isEmpty()

No description

Return Value

bool