andreascreten/wp-cli — Issue #47: Use Console_Getopt class?
Author: scribu
Created: 2011-12-18 18:54:00+00:00
State: open

There's a pear package for parsing cli options: http://pear.php.net/package/Console_Getopt

Documentation: http://pear.php.net/manual/en/package.console.console-getopt.intro-options.php

It's the most recently updated of the bunch, currently:

http://pear.php.net/packages.php?catpid=5&catname=Console