dotnet / dotnet/command-line-api

Allow handlers to return integral return codes

Open
#2,294 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

I would like to pass `Func` to RootCommand.SetHandler, but C# does not allow additions of such overloads.
I need a new `SetHandlerWithReturnCode` method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.