public static function run(HelperSet $helperSet, $commands = array())
    {
        $cli = new Application('PoolDBM Command Line Interface', Version::VERSION);
        $cli->setCatchExceptions(true);
        $cli->setHelperSet(new HelperSet($helperSet));
        self::addDefaultCommands($cli);
        $cli->addCommands($commands);
        $cli->run();
    }