commandlineparser / commandlineparser/commandline
How to add custom help while keeping default verb help
- Linguagem predominante
- C#
- Estrelas
- 4.8k
- Forks
- 478
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I try to always add a line like:
`"Usage: clitool.exe [command] [options]" `when command is called with --help or without.
I could add it like: `AddPreOptionsLine("Usage: clitool.exe [command] [options]"); `but then the help for each verb was gone.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by reproducing the reported behavior with AddPreOptionsLine("Usage: clitool.exe [command] [options]") when invoking --help and when no command is supplied. Review the help-customization entry points and examples to determine whether the default verb help can be retained; done means the custom usage line appears without removing each verb's help.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100