Optionally specify a version to delete a specific version of the query.
@example
import utils from'@eventcatalog/utils'; const{ rmQueryById }=utils('/path/to/eventcatalog'); // deletes the latest InventoryAdjusted query awaitrmQueryById('GetOrder'); // deletes a specific version of the GetOrder query awaitrmQueryById('GetOrder','0.0.1');
Delete a query by it's id.
Optionally specify a version to delete a specific version of the query.