How can I clone the attributes of another collection when a collection
TL;DR
When creating a collection, you can clone the attributes of another collection by using a script with the server SDK or the Appwrite CLI. There is no specific function for this, but you can reference the various endpoints provided by Appwrite's documentation, such as the createStringAttribute endpoint.