sixty-nine/php-cloud-lib

View on GitHub
bin/clouder

Summary

Maintainability
Test Coverage
#!/usr/bin/env php
<?php

define('BASE_PATH', realpath(__DIR__ . '/../'));

require __DIR__.'/../vendor/autoload.php';

use Doctrine\Common\Annotations\AnnotationRegistry;
use Symfony\Component\Console\Application;
use SixtyNine\Cloud\Command;

AnnotationRegistry::registerAutoloadNamespace(
    'JMS\Serializer\Annotation',
    __DIR__ . "/../vendor/jms/serializer/src"
);

$application = new Application();

$commands = array(
    new Command\BuildFromUrlCommand(),
    new Command\BuildFromFileCommand(),
    new Command\ListFontsCommand(),
    new Command\ListPalettesCommand(),
    new Command\ListPlacersCommand(),
    new Command\DebugUsherCommand(),
);

foreach ($commands as $command) {
    $application->add($command);
}

$application->run();