henderjon/chevron-argv

an OOP way to parse an $argv array

v4.0.2 2017-02-24 17:06 UTC

This package is auto-updated.

Last update: 2024-11-06 09:40:15 UTC


README

Argv is a class to parse an ARGV style array. It will parse an array for -flags and -key=value pairs. It supports the following syntax: "-f" "-flag" "-key=value" "-key value". Using one or more dashes has no effect.

Peruse the tests or, if present, the examples directory to see usage.

See packagist for version/installation info.

Latest Stable Version Build Status