From 8129bd9156142cb77d0792da624006b08adaa2ae Mon Sep 17 00:00:00 2001 From: Steven <1477010+stnguyen90@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:53:27 -0700 Subject: [PATCH] Update CONTRIBUTING.md to fix specs command The CLI expects name=value for arguments rather than just positional. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21d9c6df3a..2000f0f8a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -321,7 +321,7 @@ The Runtimes for all supported cloud functions (multicore builds) can be found a The following steps are used to generate a new console SDK: -1. Update the console spec file located at `app/config/specs/swagger2-.console.json` using Appwrite Tasks. Run the `php app/cli.php specs normal` command in a running `appwrite/appwrite` container. +1. Update the console spec file located at `app/config/specs/swagger2-.console.json` using Appwrite Tasks. Run the `php app/cli.php specs version= mode=normal` command in a running `appwrite/appwrite` container. 2. Generate a new SDK using the command `php app/cli.php sdks`. 3. Change your working dir using `cd app/sdks/console-web`. 4. Build the new SDK `npm run build`.