Back

CLI documentation errors

  • 0
  • Databases
  • General
  • Cloud
Sonicviz
9 Sep, 2024, 07:06

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'

TL;DR
- 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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more