Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
NewOne | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
run | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php declare(strict_types=1); |
2 | /* |
3 | * This file is part of Aplus Command Line Tool. |
4 | * |
5 | * (c) Natan Felles <natanfelles@gmail.com> |
6 | * |
7 | * For the full copyright and license information, please view the LICENSE |
8 | * file that was distributed with this source code. |
9 | */ |
10 | namespace Aplus\Commands; |
11 | |
12 | /** |
13 | * Class NewOne. |
14 | * |
15 | * @package aplus |
16 | */ |
17 | class NewOne extends NewCommand |
18 | { |
19 | protected string $name = 'new-one'; |
20 | protected string $description = 'Creates a new One Project.'; |
21 | protected string $usage = 'new-one [options] [directory]'; |
22 | |
23 | public function run() : void |
24 | { |
25 | $this->create('one', 'One Project'); |
26 | } |
27 | } |