mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Updated CLI tools
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#!/bin/env php
|
||||
<?php
|
||||
|
||||
require_once __DIR__.'/init.php';
|
||||
|
||||
+2
-11
@@ -1,9 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
use Utopia\App;
|
||||
use Utopia\CLI\CLI;
|
||||
|
||||
use Utopia\Config\Config;
|
||||
use Utopia\CLI\Console;
|
||||
use Appwrite\Spec\Swagger2;
|
||||
@@ -20,11 +16,8 @@ use Appwrite\SDK\Language\Go;
|
||||
use Appwrite\SDK\Language\Java;
|
||||
use Appwrite\SDK\Language\Swift;
|
||||
|
||||
require_once __DIR__.'/../init.php';
|
||||
$cli = new CLI();
|
||||
|
||||
$cli
|
||||
->task('generate')
|
||||
->task('sdks')
|
||||
->action(function () {
|
||||
function getSSLPage($url)
|
||||
{
|
||||
@@ -211,6 +204,4 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
}
|
||||
|
||||
exit();
|
||||
});
|
||||
|
||||
$cli->run();
|
||||
});
|
||||
Reference in New Issue
Block a user