#!/usr/bin/env php
<?php

// This command should provide ways to bundle the PHP code along with the runtime

$root = dirname(__DIR__);

if (! is_file(sprintf('%s/vendor/autoload.php', $root))) {
    $root = dirname(__DIR__, 4);
}

require sprintf('%s/vendor/autoload.php', $root);

use Fastly\PhpRuntime\Cli\Tool;
Tool::run();
