Skip to content

Commit

Permalink
Merge branch 'feature-cliscript' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxist committed Feb 1, 2011
2 parents fdf4a41 + 7df8414 commit 10cb962
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scripts/cli.php
@@ -0,0 +1,19 @@
<?php
/*
* OPEN POWER LIBS <http://www.invenzzia.org>
*
* This file is subject to the new BSD license that is bundled
* with this package in the file LICENSE. It is also available through
* WWW at this URL: <http://www.invenzzia.org/license/new-bsd>
*
* Copyright (c) Invenzzia Group <http://www.invenzzia.org>
* and other contributors. See website for details.
*/
require_once(__DIR__.'/../autoload.php');
$cli = new \Symfony\Component\Console\Application('Open Power Autoloader Command Line Interface', '3.0');
$cli->setCatchExceptions(true);

$cli->addCommands(array(
new \Opl\Autoloader\Command\ClassMapBuild(),
));
$cli->run();

0 comments on commit 10cb962

Please sign in to comment.