few notes / enhancements that are recommended when handling async commands in a cli application.
When using async command in cli, it is recommended to add cancelation token to be passed to "ExecuteAsync" method
console methods both in and out directions / write and read to have async version similar to:
System.Console.Out.WriteLineAsync & System.Console.In.ReadLineAsync.
Thanks
Please upvote :+1: this issue if you are interested in it.
few notes / enhancements that are recommended when handling async commands in a cli application.
When using async command in cli, it is recommended to add cancelation token to be passed to "ExecuteAsync" method console methods both in and out directions / write and read to have async version similar to: System.Console.Out.WriteLineAsync & System.Console.In.ReadLineAsync.
Thanks
Please upvote :+1: this issue if you are interested in it.