public async Task <int> Run(string[] args) { // Parse the incoming args and invoke the handler return(await _rootCommandBuilder .Build() .InvokeAsync(args)); }
public int Run(string[] args) => _rootCommandBuilder .Build() .Invoke(args);