Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
87.50% covered (warning)
87.50%
7 / 8
n/a
0 / 0
CRAP
n/a
0 / 0
1#!/usr/bin/env php
2<?php
3/*
4 * This file is part of Aplus Command Line Tool.
5 *
6 * (c) Natan Felles <natanfelles@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11if (is_file(__DIR__ . '/../../../autoload.php')) {
12    require __DIR__ . '/../../../autoload.php';
13} else {
14    require __DIR__ . '/../vendor/autoload.php';
15}
16
17use Aplus\Commands\Index;
18use Aplus\Commands\NewApp;
19use Aplus\Commands\NewOne;
20use Framework\CLI\Console;
21
22$console = new Console();
23$console->addCommand(Index::class);
24$console->addCommand(NewApp::class);
25$console->addCommand(NewOne::class);
26$console->run();