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