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
The CLI requires an endpoint, project ID, API key and a locale to be able to communicate with the {{ spec.title | caseUcfirst }} backend server. There are two ways to achieve this
45
45
46
-
### 1. Pass in the project settings along with `appwrite init`
46
+
### 1. Pass in the project settings along with `{{ language.params.executableName }} init`
@@ -58,7 +58,7 @@ Invoking `{{ language.params.executableName }} init` without any params triggers
58
58
### Note
59
59
By default, requests to domains with self signed SSL certificates (or no certificates) are disabled. If you trust the domain, you can bypass the certificate validation by using
This library is auto-generated by {{ spec.title | caseUcfirst }} custom [SDK Generator](https://github.com/{{ spec.title | lower }}/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/{{ spec.title | lower }}/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.
109
109
110
+
To build and test the CLI for development, follow these steps
3. Head over to the generated SDK and build the CLI docker image
129
+
```sh
130
+
$ cd examples/CLI
131
+
$ docker build -t {{ spec.title | lower }}/cli .
132
+
```
133
+
134
+
4. Install the CLI
135
+
136
+
MacOS and Linux
137
+
138
+
Open `install.sh` and change [this line](https://github.com/{{ spec.title | lower }}/sdk-for-cli/blob/master/install.sh#L33) to `{{ spec.title | upper }}_CLI_IMAGE_VERSION=latest` and
Open `install.ps1` and change [this line](https://github.com/{{ spec.title | lower }}/sdk-for-cli/blob/master/install.ps1#L28) to `{{ spec.title | upper }}_CLI_IMAGE_VERSION=latest` and
0 commit comments