Closed shadowshot-x closed 2 years ago
@appwrite/core, the API specs show the type of the rules is an array of strings. How is that configured? I think it would need to be an array of objects.
With new cli this might not be relevant.
@shadowshot-x We released CLI 0.15 and this should no longer be an issue 🙂
I am trying to create a collection using Appwrite CLI. However, I cannot get the command to work. Each command throws a Server Error Message. I followed the examples and also tried to pass the parameters
appwrite database createCollection --name="todo-crud" --read="["*"]" --write="["*"]" --rules="[ {"label":"Name","key":"name","type":"text","default":"Empty Name","required":true,"array":false},]"
I get param read not optional if I run the below command
appwrite database createCollection --name="todo-crud" --read="" --write="" --rules=""