#!/usr/bin/env php <?php use Carbon\Cli\Invoker; $dir = __DIR__.'/..'; if (!file_exists($dir.'/autoload.php')) { $dir = __DIR__.'/../vendor'; } if (!file_exists($dir.'/autoload.php')) { $dir = __DIR__.'/../../..'; } if (!file_exists($dir.'/autoload.php')) { echo 'Autoload not found.'; exit(1); } require $dir.'/autoload.php'; exit((new Invoker())(...$argv) ? 0 : 1);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
carbon | File | 391 B | 0644 |
|
carbon.bat | File | 93 B | 0644 |
|