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, mixed $arg)

No description

bool
isEmpty()

No description

Details

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

No description

Parameters

string $help
array $defaults

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

No description

Parameters

array|null $args

Return Value

array

at line 162
void help()

No description

Return Value

void

at line 168
void checkArg(array $opt, mixed $arg)

No description

Parameters

array $opt
mixed $arg

Return Value

void

at line 185
bool isEmpty()

No description

Return Value

bool