dotnet / dotnet/command-line-api
Missing functionality from `Microsoft.Extensions.CommandLineUtils`
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Still available, but no longer developed, there is `Microsoft.Extensions.CommandLineUtils`. It has the option of specifying `ExtendedHelpText`, which is displayed at the end of the help for a (sub-)command. Where `Description` is the short one-liner displayed next to the list of available (sub-)commands, the `ExtendedHelpText` is the more detailed help text for the (sub-)command itself. For example:
```
> foo --help
...
Commands:
bar Perform bar (* this is the description *)
```
and
```
> foo bar --help
bar
Perform bar (* this is the description *)
Usage:
foo bar [options]
Options:
...
Bar will do blabla. The changes will be persistent. (* these lines are the ExtendedHelpText *)
Exactly one of the options '--option-x' or '--option-y' must be provided.
If the directory does not exist, it will be created.
```
But maybe I am missing something that is already in place for this?
Contributor guide
Assessment
This issue has not been assessed yet.