public Task <CliActionResult> ExecuteAsync(DoCmdOptions options) { if (string.IsNullOrEmpty(options.Text)) { return(Task.FromResult(new CliActionResult(ExecuteReturnCode))); } return(Task.FromResult(new CliActionResult(options.Text.GetHashCode()))); }
public Task <CliActionResult> DoMoreAsync(DoCmdOptions options) { Ensure.NotNull(options, nameof(options)); return(Task.FromResult(new CliActionResult())); }