Replies: 1 comment 1 reply
-
Hi. [Command("verb", Examples = new[]
{
"verb --option value",
"verb --anotherPositionalOption"
})]
public class MyCommand : ICommand Maybe even skip the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can we have concept of "Example" for each command that can be specified by the CLI author and a new section is rendered as "EXAMPLE".
I was imaging something like
and the examples could be rendered to another section like "EXAMPLE" when
./myapp verb -h
is called.I'm happy to contribute if this looks good. Or we can discuss.
Beta Was this translation helpful? Give feedback.
All reactions