class CommandLine

Stupid command line arguments parser.

Constants

ARGUMENT

OPTIONAL

REPEATABLE

ENUM

REALPATH

VALUE

Methods

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

No description

array
parse(array $args = null)

No description

void
help()

No description

void
checkArg(array $opt, $arg)

No description

bool
isEmpty()

No description

Details

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

No description

Parameters

string $help
array $defaults

at line 73
array parse(array $args = null)

No description

Parameters

array $args

Return Value

array

at line 150
void help()

No description

Return Value

void

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

No description

Parameters

array $opt
$arg

Return Value

void

at line 168
bool isEmpty()

No description

Return Value

bool