dotnet / dotnet/docs

Unclear how to use built-in validators in System.Commandline

Open
#50,577 0 comments 0 reactions 1 assignee Claimed by @gewarren View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### Describe the issue or suggestion

https://learn.microsoft.com/en-us/dotnet/standard/commandline/how-to-customize-parsing-and-validation#validators

Image

For the love of me I don't understand where and how to add them.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: ecee34c7-34f7-05b1-4cdd-88ce021c3fb9
* Version Independent ID: 1b860494-ce44-35a3-388f-d7f106294b8c
* Platform ID: 0348dc8c-e8eb-9438-322d-a86638a651e6
* Content: [How to customize parsing and validation in System.CommandLine - .NET](https://learn.microsoft.com/en-us/dotnet/standard/commandline/how-to-customize-parsing-and-validation#validators)
* Content Source: [docs/standard/commandline/how-to-customize-parsing-and-validation.md](https://github.com/dotnet/docs/blob/main/docs/standard/commandline/how-to-customize-parsing-and-validation.md)
* Service: **dotnet-fundamentals**
* GitHub Login: @gewarren
* Microsoft Alias: **gewarren**

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.