Closed NikiforovAll closed 3 years ago
Cool!
Q1: Do we always want to show verbose usage every time the help for root command is provided? We could show it only when --help is specified explicitly.
I think for starters we can make it show every time. Later, if we need to, we can adapt.
Q2: Do we want to show verbose usage for sub-commands?
What do you mean by "verbose" here? The example on your screenshot looks good to m e.
Q3: How can we make usage shorter and more user-friendly in the case when the application executable consists of "dotnet MyProgram.dll"?
I think we should keep it as is for now. We can revisit it in a new PR/issue.
Poke @NikiforovAll. Are you still working on this?
Poke @NikiforovAll. Are you still working on this?
Not really, but I plan to start working on it this weekend.
Cool! I'm planning to make a refactoring soon, so wanted to align with the PRs.
I've removed the process name from usage. This is aligned with other CLIs best practices, e.g git, gh. Demo:
Last descendant command:
A Command with multiple possibly nested sub-commands:
Root:
Command not found:
Thanks!
Here is a little proof of concept for #11.
Let's determine the next things:
Note, this is not final implementation. I've created this to communicate ideas and clarify the next steps.
E.g.
Closes: #11