SonicvizOriginal post
Quality
appwrite databases list-collections
https://appwrite.io/docs/tooling/command-line/commands#list-collections
returns error
PS xxxappwrite databases list-collections
error: unknown command 'list-collections'
(Did you mean listCollections?)
Also:
Pull collection
You can also pull your existing Appwrite collections and databases from the Appwrite Console using the pull command in the folder containing your appwrite.json file.
appwrite pull collections
https://appwrite.io/docs/tooling/command-line/collections
gives error
PS xxx> appwrite pull collections
error: unknown command 'pull'
Summary
- Developers are encountering CLI documentation errors with the Appwrite tool.
- Command 'appwrite databases list-collections' is returning an error suggesting to use 'listCollections' instead.
- Command 'appwrite pull collections' is also resulting in an error with an unknown 'pull' command.
- The solution is to use 'appwrite database listCollections' and 'appwrite database listCollections' respectively, instead of the original commands listed in the documentation.