commandlineparser / commandlineparser/commandline
Configure name, version, and copyright info printed text
- Linguagem predominante
- C#
- Estrelas
- 4.8k
- Forks
- 478
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I have a C# app composed of multiple projects. The entry point is called `CLI`.
[Following the example on the front page](https://github.com/commandlineparser/commandline#c-examples), it looks like I'm forced to print this every time my app is called:
```
CLI 1.0.0
Copyright (C) 2021 CLI
```
However I don't want to print the name of the assembly - nor do I want to print copyright info and version info - I'd rather handle that myself.
Is it possible to inject this information? I tried disabling it, but it looks like that will disable the help text also - which isn't what I want. (I tried this https://github.com/commandlineparser/commandline/wiki/Generating-Help-and-Usage-information#overriding-the-default-behavior).
I don't really want to mess with my assembly info just to print the accurate product name.
I find this to be a really odd default behavior.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start with the C# example on the project front page and the linked wiki section on overriding default behavior. Trace how the name, version, copyright, and help text are selected; done should allow those printed fields to be configured or omitted without disabling help output.
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
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100