commandlineparser / commandlineparser/commandline
Control over Help Text Headers
- Vorherrschende Sprache
- C#
- Sterne
- 4.8k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When (and only when) the help text is shown, it adds the application name, version, and copyright info before writing the options details. However, I'd either like to include with every run, or exclude it completely so I can output my own info. However, I can't figure out how to do that.
I'm just using the default ParseArguments/MapResult code:
`
return Parser.Default.ParseArguments(args)
.MapResult(
(AddOptions opts) => RunAddAndReturnExitCode(opts),
(CommitOptions opts) => RunCommitAndReturnExitCode(opts),
(CloneOptions opts) => RunCloneAndReturnExitCode(opts),
errs => 1);
`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.