Publishing commands and then extract them for consumption

Hi, I am new to Event Store. I am developing a console application that will listen for published commands and then write them to a local text file.

The command should be able to publish to the Event Store. Has anyone had an experience on how to do this?

Kind regards,

Edgar

To write use AppendToStreamAsync. Then use SubscribeToStreamFrom for
your subscriber to write to the text file.