evently-cloud / cli

Evently Command-Line Interface
Apache License 2.0
1 stars 0 forks source link

`registry:delete` command to delete an event type #19

Closed mattbishop closed 1 year ago

mattbishop commented 1 year ago

The opposite of new, it will delete the event type from the registry. If an event of this type has been appended to the ledger, the command will fail.

evert commented 1 year ago

For this we could either do:

evently registry:delete -e entityname -n eventname

Or

evently registry:delete -e entityname/eventname
mattbishop commented 1 year ago

Let's keep -e -n pattern, someone might use a slash as an entity name.