evently-cloud / cli

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

`registry:list` to list entities, and events #20

Closed mattbishop closed 1 year ago

mattbishop commented 1 year ago

This may take a little thinking, but we want to show all the events registered for an entity, and another command to list the entities themselves. For larger systems with hundreds of events, a full list gets to be difficult to use.

evert commented 1 year ago

Some ideas for the interface, let me now what you think:

# Show all entities
evently registry:list-entities
# Show all entities for an event
evently registry:list-events --entity foo
evently registry:list-events -e foo

Perhaps all these commands can have a -v for verbose flag that shows the name + the URI ?

evert commented 1 year ago

@mattbishop Does the above syntax work for you?

mattbishop commented 1 year ago

LGTM