Closed kai687 closed 1 year ago
@clemfromspace got stuck writing the test (or rather the mock) for the new option. Don't know what I'm doing wrong.
@kai687 On it!
@kai687 The tests should pass now, there was missing matching stubs. Makes me think the current stubs system is not explicit enough when there is missing stubs / unmatched stubs.
Thank you so much with your help on the tests.
This PR adds a new boolean option to the
algolia indices delete
command:--includeReplicas
. If it's true, the command will look for any replicas of an index and deletes them with the primary index. No more dangling indices because of replicas.DEX-784