mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
refactor rename
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\CLI;
|
||||
|
||||
use Utopia\Platform\Platform;
|
||||
|
||||
class Tasks extends Platform
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->addService('cliTasks', new TasksService());
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\App;
|
||||
use Utopia\CLI\Console;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Appwrite\Auth\Auth;
|
||||
use Appwrite\Docker\Compose;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Appwrite\Auth\Auth;
|
||||
use Appwrite\Event\Certificate;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\Platform\Action;
|
||||
use Utopia\CLI\Console;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\Platform\Action;
|
||||
use Utopia\Config\Config;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\Platform\Action;
|
||||
use Appwrite\Event\Certificate;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\Platform\Action;
|
||||
use Utopia\Validator\Text;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Appwrite\Platform\Action;
|
||||
use Throwable;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\App;
|
||||
use Utopia\Config\Config;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI\Tasks;
|
||||
|
||||
use Utopia\App;
|
||||
use Utopia\CLI\Console;
|
||||
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
namespace Appwrite\CLI;
|
||||
|
||||
use Utopia\Platform\Service;
|
||||
use Appwrite\CLI\Tasks\Doctor;
|
||||
use Appwrite\CLI\Tasks\Install;
|
||||
use Appwrite\CLI\Tasks\Maintenance;
|
||||
use Appwrite\CLI\Tasks\Migrate;
|
||||
use Appwrite\CLI\Tasks\SDKs;
|
||||
use Appwrite\CLI\Tasks\Specs;
|
||||
use Appwrite\CLI\Tasks\SSL;
|
||||
use Appwrite\CLI\Tasks\Usage;
|
||||
use Appwrite\CLI\Tasks\Vars;
|
||||
use Appwrite\CLI\Tasks\Version;
|
||||
|
||||
class Tasks extends Service
|
||||
class TasksService extends Service
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Appwrite\Task;
|
||||
|
||||
use Utopia\Platform\Platform;
|
||||
|
||||
class CLIPlatform extends Platform
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->addService('cliTasks', new Tasks());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user