You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This SDK is compatible with Appwrite server version 1.6.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-cli/releases).**
9
+
**This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-cli/releases).**
10
10
11
11
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Command Line SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
12
12
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
.description(`You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://appwrite.io/docs/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.`)
433
433
.requiredOption(`--code <code>`,`Browser Code.`)
434
434
.option(`--width <width>`,`Image width. Pass an integer between 0 to 2000. Defaults to 100.`,parseInteger)
@@ -438,7 +438,7 @@ avatars
438
438
.action(actionRunner(avatarsGetBrowser))
439
439
440
440
avatars
441
-
.command(`getCreditCard`)
441
+
.command(`get-credit-card`)
442
442
.description(`The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px. `)
.description(`You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px. `)
460
460
.requiredOption(`--code <code>`,`Country Code. ISO Alpha-2 country code format.`)
461
461
.option(`--width <width>`,`Image width. Pass an integer between 0 to 2000. Defaults to 100.`,parseInteger)
@@ -465,16 +465,16 @@ avatars
465
465
.action(actionRunner(avatarsGetFlag))
466
466
467
467
avatars
468
-
.command(`getImage`)
469
-
.description(`Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px. `)
468
+
.command(`get-image`)
469
+
.description(`Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px. This endpoint does not follow HTTP redirects.`)
470
470
.requiredOption(`--url <url>`,`Image URL which you want to crop.`)
471
471
.option(`--width <width>`,`Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.`,parseInteger)
472
472
.option(`--height <height>`,`Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.`,parseInteger)
.description(`Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned. You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials. When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px. `)
479
479
.option(`--name <name>`,`Full Name. When empty, current user name or email will be used. Max length: 128 chars.`)
480
480
.option(`--width <width>`,`Image width. Pass an integer between 0 to 2000. Defaults to 100.`,parseInteger)
@@ -484,7 +484,7 @@ avatars
484
484
.action(actionRunner(avatarsGetInitials))
485
485
486
486
avatars
487
-
.command(`getQR`)
487
+
.command(`get-qr`)
488
488
.description(`Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image. `)
489
489
.requiredOption(`--text <text>`,`Plain text to be converted to QR code image.`)
490
490
.option(`--size <size>`,`QR code size. Pass an integer between 1 to 1000. Defaults to 400.`,parseInteger)
0 commit comments