appwrite-cli-beta
v0.16.2-a6b24fb82dd834cf714cba6a9ee99ce86db1477
Published
Repo short description goes here
Downloads
128
Readme
Appwrite NAME SDK
WORK IN PROGRESS - NOT READY FOR USAGE
Repo description goes here
Installation
The Appwrite CLI is a Node based command line tool to help you interact with the Appwrite API. The CLI is distributed both as an npm package
as well as pre built binaries for specific operating systems and architectures.
Install using NPM
If you have npm
installed, it's as easy as running
$ npm install -g appwrite-cli
Once the installation is complete, you can verify the install using
$ appwrite -v
0.16.0
Install using prebuilt binaries
If you do not have npm
installed, you can always install the prebuilt binaries for your architecture and OS using our convenient installation scripts.
Linux / MacOS Terminal
$ wget -q https://appwrite.io/cli/install.sh -O - | /bin/bash
MacOS via Homebrew
$ brew install appwrite
Windows
Via Powershell
$ iwr -useb https://appwrite.io/cli/install.ps1 | iex
Via Scoop
$ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/scoop/appwrite.json
Once the installation completes, you can verify your install using
$ appwrite -v
0.16.0
Contribution
This library is auto-generated by Appwrite custom SDK Generator. To learn more about how you can help us improve this SDK, please check the contribution guide before sending a pull-request.
To build and test the CLI for development, follow these steps
- Clone the SDK Generator repository and cd into the directory
$ git clone https://github.com/appwrite/sdk-generator
$ cd sdk-generator
- Ensure Docker is running locally and then install the composer dependencies using
$ docker run --rm --interactive --tty --volume "$(pwd)":/app composer install --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts --prefer-dist
# Generate the SDKs
$ docker run --rm -v $(pwd):/app -w /app php:8.1-cli php example.php
- Head over to the generated SDK and install the dependencies.
$ cd examples/cli
$ npm install
- Install the CLI using
$ npm install -g .
- You can now use the CLI
$ appwrite -v
License
Please see the BSD-3-Clause license file for more information.