OK, so PHP isn't really designed to be a command line tool. But there is a CLI package, and it's fairly decent for some things. And a number of the web tools I want to build would work well with a good CLI, as well. But there's a problem: I can't stand the lack of argument parsing, and I don't like using PEAR, which was the only option when I wrote this. So, I wrote my own, using Perl's parser as a model. The tar.gz file contains the include file and a demo script which uses all the capabilities of the argHandler class.