Added CLI code examples
This commit is contained in:
parent
d64f8dbddb
commit
f5346daf79
|
@ -4,6 +4,7 @@ use Utopia\Config\Config;
|
||||||
use Utopia\CLI\Console;
|
use Utopia\CLI\Console;
|
||||||
use Appwrite\Spec\Swagger2;
|
use Appwrite\Spec\Swagger2;
|
||||||
use Appwrite\SDK\SDK;
|
use Appwrite\SDK\SDK;
|
||||||
|
use Appwrite\SDK\Language\CLI;
|
||||||
use Appwrite\SDK\Language\PHP;
|
use Appwrite\SDK\Language\PHP;
|
||||||
use Appwrite\SDK\Language\Web;
|
use Appwrite\SDK\Language\Web;
|
||||||
use Appwrite\SDK\Language\Node;
|
use Appwrite\SDK\Language\Node;
|
||||||
|
@ -91,6 +92,11 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
$config->setNPMPackage('appwrite');
|
$config->setNPMPackage('appwrite');
|
||||||
$config->setBowerPackage('appwrite');
|
$config->setBowerPackage('appwrite');
|
||||||
break;
|
break;
|
||||||
|
case 'cli':
|
||||||
|
$config = new CLI();
|
||||||
|
$config->setComposerVendor('appwrite');
|
||||||
|
$config->setComposerPackage('cli');
|
||||||
|
break;
|
||||||
case 'php':
|
case 'php':
|
||||||
$config = new PHP();
|
$config = new PHP();
|
||||||
$config->setComposerVendor('appwrite');
|
$config->setComposerVendor('appwrite');
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
"adhocore/jwt": "1.1.0"
|
"adhocore/jwt": "1.1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"appwrite/sdk-generator": "0.4.5",
|
"appwrite/sdk-generator": "0.5.0",
|
||||||
"phpunit/phpunit": "9.4.2",
|
"phpunit/phpunit": "9.4.2",
|
||||||
"swoole/ide-helper": "4.5.5",
|
"swoole/ide-helper": "4.5.5",
|
||||||
"vimeo/psalm": "4.1.1"
|
"vimeo/psalm": "4.1.1"
|
||||||
|
|
8
composer.lock
generated
8
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "9392457b87e42defd544ca840fee0bab",
|
"content-hash": "7ddabc24c3282752e11922db85442052",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -2085,11 +2085,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "appwrite/sdk-generator",
|
"name": "appwrite/sdk-generator",
|
||||||
"version": "0.4.5",
|
"version": "0.5.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/appwrite/sdk-generator",
|
"url": "https://github.com/appwrite/sdk-generator",
|
||||||
"reference": "9c04ed7ff34a723c3c226941b9f9a844738c595e"
|
"reference": "9ca5a3f5fece6a88d83686a067f1fc1ea7d6af85"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
|
@ -2119,7 +2119,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
||||||
"time": "2021-01-28T08:03:13+00:00"
|
"time": "2021-02-07T16:43:53+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "composer/package-versions-deprecated",
|
"name": "composer/package-versions-deprecated",
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getBrowser --code="aa" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getCreditCard --code="amex" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getFavicon --url="https://example.com"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getFlag --code="af" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getImage --url="https://example.com" --width="0" --height="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getInitials --name="[NAME]" --width="0" --height="0" --color="" --background=""
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getQR --text="[TEXT]" --size="0" --margin="0" --download=""
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database createCollection --name="[NAME]" "--read[]=" "--write[]=" "--rules[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database createDocument --collectionId="[COLLECTION_ID]" --data="{}" "--read[]=" "--write[]=" --parentDocument="[PARENT_DOCUMENT]" --parentProperty="" --parentPropertyType="assign"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database deleteCollection --collectionId="[COLLECTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database deleteDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database getCollection --collectionId="[COLLECTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database getDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database listCollections --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database listDocuments --collectionId="[COLLECTION_ID]" "--filters[]=" --offset="0" --limit="0" --orderField="[ORDER_FIELD]" --orderType="DESC" --orderCast="int" --search="[SEARCH]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database updateCollection --collectionId="[COLLECTION_ID]" --name="[NAME]" "--read[]=" "--write[]=" "--rules[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database updateDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]" --data="{}" "--read[]=" "--write[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getAntiVirus
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getCache
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getDB
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueCertificates
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueFunctions
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueLogs
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueTasks
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueUsage
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueWebhooks
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getStorageLocal
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getTime
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/health/get.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/health/get.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health get
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getContinents
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getCountriesEU
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getCountriesPhones
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getCountries
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getCurrencies
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale getLanguages
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/locale/get.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/locale/get.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite locale get
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage createFile --file="" "--read[]=" "--write[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage deleteFile --fileId="[FILE_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage getFileDownload --fileId="[FILE_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage getFilePreview --fileId="[FILE_ID]" --width="0" --height="0" --quality="0" --background="" --output="jpg"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage getFileView --fileId="[FILE_ID]" --as="pdf"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage getFile --fileId="[FILE_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage listFiles --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite storage updateFile --fileId="[FILE_ID]" "--read[]=" "--write[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams createMembership --teamId="[TEAM_ID]" --email="email@example.com" "--roles[]=" --url="https://example.com" --name="[NAME]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/teams/create.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/teams/create.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams create --name="[NAME]" "--roles[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams deleteMembership --teamId="[TEAM_ID]" --inviteId="[INVITE_ID]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/teams/delete.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/teams/delete.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams delete --teamId="[TEAM_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams getMemberships --teamId="[TEAM_ID]" --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/teams/get.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/teams/get.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams get --teamId="[TEAM_ID]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/teams/list.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/teams/list.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams list --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/teams/update.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/teams/update.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite teams update --teamId="[TEAM_ID]" --name="[NAME]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/users/create.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/users/create.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users create --email="email@example.com" --password="password" --name="[NAME]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users deleteSession --userId="[USER_ID]" --sessionId="[SESSION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users deleteSessions --userId="[USER_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users getLogs --userId="[USER_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users getPrefs --userId="[USER_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users getSessions --userId="[USER_ID]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/users/get.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/users/get.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users get --userId="[USER_ID]"
|
||||||
|
```
|
3
docs/examples/0.6.2/server-cli/examples/users/list.md
Normal file
3
docs/examples/0.6.2/server-cli/examples/users/list.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users list --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users updatePrefs --userId="[USER_ID]" --prefs="{}"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite users updateStatus --userId="[USER_ID]" --status="1"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getBrowser --code="aa" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getCreditCard --code="amex" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getFavicon --url="https://example.com"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getFlag --code="af" --width="0" --height="0" --quality="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getImage --url="https://example.com" --width="0" --height="0"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getInitials --name="[NAME]" --width="0" --height="0" --color="" --background=""
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite avatars getQR --text="[TEXT]" --size="0" --margin="0" --download=""
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database createCollection --name="[NAME]" "--read[]=" "--write[]=" "--rules[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database createDocument --collectionId="[COLLECTION_ID]" --data="{}" "--read[]=" "--write[]=" --parentDocument="[PARENT_DOCUMENT]" --parentProperty="" --parentPropertyType="assign"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database deleteCollection --collectionId="[COLLECTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database deleteDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database getCollection --collectionId="[COLLECTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database getDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database listCollections --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database listDocuments --collectionId="[COLLECTION_ID]" "--filters[]=" --limit="0" --offset="0" --orderField="[ORDER_FIELD]" --orderType="DESC" --orderCast="int" --search="[SEARCH]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database updateCollection --collectionId="[COLLECTION_ID]" --name="[NAME]" "--read[]=" "--write[]=" "--rules[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite database updateDocument --collectionId="[COLLECTION_ID]" --documentId="[DOCUMENT_ID]" --data="{}" "--read[]=" "--write[]="
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions createExecution --functionId="[FUNCTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions createTag --functionId="[FUNCTION_ID]" --command="[COMMAND]" --code=""
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions create --name="[NAME]" "--execute[]=" --env="node-14.5" --vars="{}" "--events[]=" --schedule="" --timeout="1"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions deleteTag --functionId="[FUNCTION_ID]" --tagId="[TAG_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions delete --functionId="[FUNCTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions getExecution --functionId="[FUNCTION_ID]" --executionId="[EXECUTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions getTag --functionId="[FUNCTION_ID]" --tagId="[TAG_ID]"
|
||||||
|
```
|
3
docs/examples/0.7.0/server-cli/examples/functions/get.md
Normal file
3
docs/examples/0.7.0/server-cli/examples/functions/get.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions get --functionId="[FUNCTION_ID]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions listExecutions --functionId="[FUNCTION_ID]" --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions listTags --functionId="[FUNCTION_ID]" --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions list --search="[SEARCH]" --limit="0" --offset="0" --orderType="ASC"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions updateTag --functionId="[FUNCTION_ID]" --tag="[TAG]"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite functions update --functionId="[FUNCTION_ID]" --name="[NAME]" "--execute[]=" --vars="{}" "--events[]=" --schedule="" --timeout="1"
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getAntiVirus
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getCache
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getDB
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueCertificates
|
||||||
|
```
|
|
@ -0,0 +1,3 @@
|
||||||
|
```sh
|
||||||
|
$ appwrite health getQueueFunctions
|
||||||
|
```
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue