streams/util/fhublocs

21 lines
422 B
Text
Raw Permalink Normal View History

2024-01-31 18:05:47 +00:00
#!/usr/bin/env php
<?php
if(!file_exists('include/cli_startup.php')) {
echo 'Run config from the top level web directory, as util/config <args>' . PHP_EOL;
exit(1);
}
use Code\Web\Controller;
use Code\Module\Fhublocs;
require_once('include/cli_startup.php');
cli_startup();
$controller = new Fhublocs();
echo str_replace('<br>', '', $controller->get());
exit(0);