appwrite-tools
appwrite-tools copied to clipboard
Some small improvements
Improvements:
- Use
switchstatement instead ofif else actionoption is now case insensitive- Add try catch to backup operation so it removes the file if there is an error
I wasn't able to test these changes with an Appwrite instance since I currently don't have one setup I can test this with. Since I didn't change any of the essential code it should all be working like it was. I'd love for you to test these changes on your end to make sure these changes don't affect normal operation.