algolia / cli

🔍 Algolia’s official CLI devtool
https://www.algolia.com/doc/tools/cli
MIT License
102 stars 26 forks source link

"Successfully deleted" objects that don't exist #29

Closed khalidelassaad closed 2 years ago

khalidelassaad commented 2 years ago

Issue 28 must be resolved first before this can be reproduced...

Screen Shot 2022-08-11 at 11 48 22 AM

You can "successfully delete" objects that don't exist.

I would expect an error message, like "objects not found"

In the case of a delete of 2 objects... algolia objects delete khalid_test_index --object-ids 1,2

EXPECTED BEHAVIOR:

We should have the same behavior for rules and synonyms too!