-
Notifications
You must be signed in to change notification settings - Fork 0
/
cli.php
47 lines (42 loc) · 1.29 KB
/
cli.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
declare(strict_types=1);
use gdejong\AoC2021\Day01\Day01Command;
use gdejong\AoC2021\Day02\Day02Command;
use gdejong\AoC2021\Day03\Day03Command;
use gdejong\AoC2021\Day04\Day04Command;
use gdejong\AoC2021\Day05\Day05Command;
use gdejong\AoC2021\Day06\Day06Command;
use gdejong\AoC2021\Day07\Day07Command;
use gdejong\AoC2021\Day08\Day08Command;
use gdejong\AoC2021\Day09\Day09Command;
use gdejong\AoC2021\Day10\Day10Command;
use gdejong\AoC2021\Day11\Day11Command;
use gdejong\AoC2021\Day12\Day12Command;
use gdejong\AoC2021\Day13\Day13Command;
use gdejong\AoC2021\Day14\Day14Command;
use gdejong\AoC2021\Day15\Day15Command;
use gdejong\AoC2021\Day16\Day16Command;
use gdejong\AoC2021\Day17\Day17Command;
use Symfony\Component\Console\Application;
require_once __DIR__ . DIRECTORY_SEPARATOR . "vendor/autoload.php";
$application = new Application();
$application->addCommands([
new Day01Command(),
new Day02Command(),
new Day03Command(),
new Day04Command(),
new Day05Command(),
new Day06Command(),
new Day07Command(),
new Day08Command(),
new Day09Command(),
new Day10Command(),
new Day11Command(),
new Day12Command(),
new Day13Command(),
new Day14Command(),
new Day15Command(),
new Day16Command(),
new Day17Command(),
]);
$application->run();