1
0
Fork 0
mirror of synced 2024-05-20 04:32:37 +12:00

Updated CLI tools

This commit is contained in:
Eldad Fux 2020-10-15 11:00:14 +03:00
parent 7c17a897fa
commit 27983ad2c8
2 changed files with 2 additions and 12 deletions

View file

@ -1,4 +1,3 @@
#!/bin/env php
<?php
require_once __DIR__.'/init.php';

View file

@ -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();
});