CLI command to export indexes from Firestore

firebase firestore:indexes

Solution source (external link, opens in a new tab)