commandlineparser / commandlineparser/commandline
How to add examples for verbs?
- Vorherrschende Sprache
- C#
- Sterne
- 4.8k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I try to add examples for each verb i have.
Is something similar to below possible?
```
[Verb("stop", HelpText = "Stop....")]
[Example("Stop with custom timeout", "dustcli stop --timeout 5000")]
public class StopOptions { ...
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
The issue provides no file, test, or entry point. Start by locating the Verb and HelpText attribute handling and compare how verb metadata is rendered; define the expected Example API and its displayed output before implementing, then add coverage showing examples can be attached to each verb.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100