commandlineparser / commandlineparser/commandline

Default value callback

Open
#751 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

Howdy!

I'm just evaluating this library for a couple of F# projects, and I was wondering if there's any way to provide a function (or `Action<_>`) as the default instead of a static value. This would allow me to pull in values from elsewhere, namely `IConfiguration` so that I get I get config file & env values as the fallback too.

Is anything like this currently possible?

Cheers!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.