addCommandsFromDir("lib",null,true); if (sizeof($argv)==1) { $console->run(['download']); $console->run(['process']); } else { $console->run(); }