-
Notifications
You must be signed in to change notification settings - Fork 27
/
app.php
21 lines (18 loc) · 912 Bytes
/
app.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env php
<?php
require __DIR__ . '/vendor/autoload.php';
use Jpastoor\JiraWorklogExtractor\Command\ClearCacheCommand;
use Jpastoor\JiraWorklogExtractor\Command\LoadProjectTotalsInTimeperiodCommand;
use Jpastoor\JiraWorklogExtractor\Command\ReworkCommand;
use Jpastoor\JiraWorklogExtractor\Command\WorkedHoursPerDayCommand;
use Jpastoor\JiraWorklogExtractor\Command\WorkedHoursPerDayPerAuthorCommand;
use Jpastoor\JiraWorklogExtractor\Command\WorkedHoursPerTicketPerAuthorCommand;
use Symfony\Component\Console\Application;
$application = new Application();
$application->add(new LoadProjectTotalsInTimeperiodCommand());
$application->add(new WorkedHoursPerDayCommand());
$application->add(new WorkedHoursPerDayPerAuthorCommand());
$application->add(new WorkedHoursPerTicketPerAuthorCommand());
$application->add(new ClearCacheCommand());
$application->add(new ReworkCommand());
$application->run();