#!/usr/bin/php -d memory_limit=1024M <?php /** * Vagrant Boxer application * * Usage: * php -d memory_limit=1024M boxer.php [--no-bump-version] [--keep-package] [--config-file /path/to/boxer.json] * * @copyright 2014 Vubeology LLC * @author Ross Perkins <*****@*****.**> */ use Vube\VagrantBoxer\Boxer; // Require composer autoloader require __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; try { $boxer = new Boxer(); $boxer->init($_SERVER['argv']); $boxer->exec(); } catch (Exception $e) { echo "\nFatal error: " . $e->__toString() . "\n"; }