import utils from'@eventcatalog/utils'; const{ rmEvent }=utils('/path/to/eventcatalog'); // removes an event at the given path (events dir is appended to the given path) // Removes the event at events/InventoryAdjusted awaitrmEvent('/InventoryAdjusted');
Delete an event at it's given path.