-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmt.php
More file actions
18 lines (16 loc) · 720 Bytes
/
Copy pathmt.php
File metadata and controls
18 lines (16 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env php
<?php
require_once("vendor/autoload.php");
use ElectricJones\Mistletoe\Application\Commands\ListAllCommand;
use ElectricJones\Mistletoe\Application\Commands\ListDueCommand;
use ElectricJones\Mistletoe\Application\Commands\RunAllCommand;
use ElectricJones\Mistletoe\Application\Commands\RunDueCommand;
use ElectricJones\Mistletoe\Application\Commands\RunTaskCommand;
use Symfony\Component\Console\Application;
$application = new Application('Mistletoe', '@package_version@');
$application->add(new RunDueCommand());
$application->add(new RunTaskCommand());
$application->add(new RunAllCommand());
$application->add(new ListAllCommand());
$application->add(new ListDueCommand());
$application->run();