rmDomain CallablermDomain(directory: string): (path: string) => Promise<void>Delete a domain at it's given path.@exampleimport utils from '@eventcatalog/utils';const { rmDomain } = utils('/path/to/eventcatalog');// Removes the domain at domains/Paymentawait rmDomain('/Payment');
Delete a domain at it's given path.