appwrite/src/Appwrite/Platform/Tasks.php

37 lines
1.2 KiB
PHP
Raw Normal View History

2022-07-08 02:27:06 +00:00
<?php
2022-07-14 02:04:31 +00:00
2022-11-14 10:01:41 +00:00
namespace Appwrite\Platform;
2022-07-08 02:27:06 +00:00
2022-07-13 06:26:22 +00:00
use Utopia\Platform\Service;
2022-11-14 10:01:41 +00:00
use Appwrite\Platform\Tasks\Doctor;
use Appwrite\Platform\Tasks\Install;
use Appwrite\Platform\Tasks\Maintenance;
use Appwrite\Platform\Tasks\Migrate;
use Appwrite\Platform\Tasks\SDKs;
use Appwrite\Platform\Tasks\Specs;
use Appwrite\Platform\Tasks\SSL;
use Appwrite\Platform\Tasks\Usage;
use Appwrite\Platform\Tasks\Vars;
use Appwrite\Platform\Tasks\Version;
use Appwrite\Platform\Tasks\VolumeSync;
2022-07-08 02:27:06 +00:00
2022-11-14 10:01:41 +00:00
class Tasks extends Service
2022-07-14 02:04:31 +00:00
{
2022-07-13 06:26:22 +00:00
public function __construct()
2022-07-08 02:27:06 +00:00
{
2022-07-13 06:26:22 +00:00
$this->type = self::TYPE_CLI;
2022-07-13 07:02:55 +00:00
$this
2022-08-02 01:58:36 +00:00
->addAction(Version::getName(), new Version())
->addAction(Usage::getName(), new Usage())
->addAction(Vars::getName(), new Vars())
->addAction(SSL::getName(), new SSL())
->addAction(Doctor::getName(), new Doctor())
->addAction(Install::getName(), new Install())
->addAction(Maintenance::getName(), new Maintenance())
->addAction(Migrate::getName(), new Migrate())
->addAction(SDKs::getName(), new SDKs())
2022-11-13 08:36:31 +00:00
->addAction(VolumeSync::getName(), new VolumeSync())
2022-08-02 01:58:36 +00:00
->addAction(Specs::getName(), new Specs());
2022-07-08 02:27:06 +00:00
}
}