commandlineparser / commandlineparser/commandline
Configure name, version, and copyright info printed text
- Lenguaje dominante
- C#
- Estrellas
- 4.8k
- Forks
- 478
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza con el ejemplo de C# en la página principal del proyecto y con la sección enlazada de la wiki sobre cómo sobrescribir el comportamiento predeterminado. Sigue cómo se seleccionan el nombre, la versión, el copyright y el texto de ayuda; la implementación debería permitir configurar u omitir esos campos impresos sin deshabilitar la salida de ayuda.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100