dotnet / dotnet/command-line-api
[Feature Request] Invocation examples
Open
enhancement
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Please add examples to the help text, per command.
As done for [Spectre.Console](https://spectreconsole.net/cli/commands#configuring). (Examples are optional; they are specified in code, they aren't created dynamically.)
e.g. `myapp foo --help` will also print this:
````
EXAMPLES:
myapp foo
myapp foo -f somefile.txt
myapp foo --file somefile.txt
````
Contributor guide
Assessment
This issue has not been assessed yet.