Microlibrary for command line PHP scripts