2021-03-23 21:58:40 +01:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
use IO\ExceptionHandler;
|
|
|
|
use IO\Input\ShowInfoArguments;
|
2021-04-08 15:36:57 +02:00
|
|
|
use IO\Output\DocumentDetails;
|
2021-03-23 21:58:40 +01:00
|
|
|
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
|
|
|
|
ExceptionHandler::registerCallback();
|
|
|
|
|
2021-04-08 15:36:57 +02:00
|
|
|
$file = ShowInfoArguments::createFromGlobals()->getFile();
|
|
|
|
$document = DocumentFactory::create()->fromFile($file);
|
|
|
|
DocumentDetails::of($document)->render();
|